This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
aviocat: Check the argv array length before reading element i+1
Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.2-rc1
Martin Storsjö
12 years ago
parent
aab40bbfd5
commit
03f2de5856
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tools/aviocat.c
+ 1
- 1
tools/aviocat.c
View File
@@ -43,7 +43,7 @@ int main(int argc, char **argv)
avformat_network_init();
for (i = 1; i < argc; i++) {
if (!strcmp(argv[i], "-b")) {
if (!strcmp(argv[i], "-b")
&& i + 1 < argc
) {
bps = atoi(argv[i + 1]);
i++;
} else if (!input_url) {
Write
Preview
Loading…
Cancel
Save