diff options
Diffstat (limited to 'cmds/stagefright/stagefright.cpp')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 318b56d..a9c6eda 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -965,7 +965,7 @@ int main(int argc, char **argv) { OMXClient client; status_t err = client.connect(); - for (int k = 0; k < argc; ++k) { + for (int k = 0; k < argc && err == OK; ++k) { bool syncInfoPresent = true; const char *filename = argv[k]; |