diff options
| author | Glenn Kasten <gkasten@google.com> | 2015-01-07 11:28:58 -0800 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2015-01-12 08:09:55 -0800 |
| commit | 27f019cc03c4a4011b2fcacadcd24b0e61b6ff58 (patch) | |
| tree | 696e0146ad100c069e1f0cc088530ba90e8ae04d /tests | |
| parent | 14463a8e53e2a5185a395e2045fd33ad4a63050d (diff) | |
| download | android_frameworks_wilhelm-27f019cc03c4a4011b2fcacadcd24b0e61b6ff58.tar.gz android_frameworks_wilhelm-27f019cc03c4a4011b2fcacadcd24b0e61b6ff58.tar.bz2 android_frameworks_wilhelm-27f019cc03c4a4011b2fcacadcd24b0e61b6ff58.zip | |
Fix argument count warning
Change-Id: I98ec924c519937e40718f0de1554205aed107068
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/sandbox/streamSource/slesTestPlayStream.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/sandbox/streamSource/slesTestPlayStream.cpp b/tests/sandbox/streamSource/slesTestPlayStream.cpp index 6e27859..3b882ee 100644 --- a/tests/sandbox/streamSource/slesTestPlayStream.cpp +++ b/tests/sandbox/streamSource/slesTestPlayStream.cpp @@ -387,10 +387,8 @@ int main(int argc, char* const argv[]) "sink\n"); fprintf(stdout, "Plays a sound and stops after its reported duration\n\n"); - if (argc == 1) { - fprintf(stdout, "Usage: %s path \n", argv[0]); - fprintf(stdout, "Example: \"%s /sdcard/my.ts\n", - argv[0], argv[0]); + if (argc != 2) { + fprintf(stdout, "Usage: %s path.ts\n", argv[0]); exit(EXIT_FAILURE); } |
