Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: src/repacketizer_demo.c

Issue 107243004: Updating Opus to release 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/repacketizer.c ('k') | tests/test_opus_api.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/repacketizer_demo.c
diff --git a/src/repacketizer_demo.c b/src/repacketizer_demo.c
index ca8b2c7e794ce396c7059e1ed8bcfc4a8fdb7336..dc05c1b35927dbbb68619595f9c13b8a8bfb7cc3 100644
--- a/src/repacketizer_demo.c
+++ b/src/repacketizer_demo.c
@@ -81,6 +81,11 @@ int main(int argc, char *argv[])
fprintf(stderr, "-merge parameter must be at least 1.\n");
return EXIT_FAILURE;
}
+ if(merge>48)
+ {
+ fprintf(stderr, "-merge parameter must be less than 48.\n");
+ return EXIT_FAILURE;
+ }
i++;
} else if (strcmp(argv[i], "-split")==0)
split = 1;
« no previous file with comments | « src/repacketizer.c ('k') | tests/test_opus_api.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698