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; |