summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-09-08 14:12:44 -0700
committerAndreas Huber <andih@google.com>2011-09-30 15:26:31 -0700
commit2944eca607304a095ea43ba2b8f0b9de61249f9f (patch)
treef3dbe4e61cc94ec086b098c7387034f226a2ac14 /cmds
parentd3523f89a867afa111bb332887bf006ec3ae93e6 (diff)
downloadframeworks_av-2944eca607304a095ea43ba2b8f0b9de61249f9f.zip
frameworks_av-2944eca607304a095ea43ba2b8f0b9de61249f9f.tar.gz
frameworks_av-2944eca607304a095ea43ba2b8f0b9de61249f9f.tar.bz2
Support for an MPEG2 Program Stream extractor.
Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 528d197..5005c13 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -1021,6 +1021,7 @@ int main(int argc, char **argv) {
syncInfoPresent = false;
} else {
extractor = MediaExtractor::Create(dataSource);
+
if (extractor == NULL) {
fprintf(stderr, "could not create extractor.\n");
return -1;