From 8a08d9d62eeca9b0e8d75daef02706be798a97b5 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Mon, 21 Jun 2010 09:11:51 -0700 Subject: Make sure sine: is supported again in stagefright commandline tool. Change-Id: I703f1a8b7556543ef71b141dc8e38d8b82d8c6dc --- cmds/stagefright/stagefright.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/stagefright') diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index e2ad9e6..877b908 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; } -- cgit v1.1