diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index e2ad9e6ec4173..877b90878d689 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -483,7 +483,7 @@ int main(int argc, char **argv) { sp dataSource = DataSource::CreateFromURI(filename); - if (dataSource == NULL) { + if (strncasecmp(filename, "sine:", 5) && dataSource == NULL) { fprintf(stderr, "Unable to create data source.\n"); return 1; }