Merge "Make sure sine: is supported again in stagefright commandline tool." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a42f8817d
@@ -483,7 +483,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
sp<DataSource> dataSource = DataSource::CreateFromURI(filename);
|
||||
|
||||
if (dataSource == NULL) {
|
||||
if (strncasecmp(filename, "sine:", 5) && dataSource == NULL) {
|
||||
fprintf(stderr, "Unable to create data source.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user