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
wtv: stop processing chunks if length is smaller than chunk header
Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Peter Ross
15 years ago
parent
9372f31e03
commit
bf2e54174e
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/wtv.c
+ 2
- 0
libavformat/wtv.c
View File
@@ -363,6 +363,8 @@ static int parse_chunks(AVFormatContext *s, int mode, int64_t seekts, int *len_p
return AVERROR_EOF;
len = get_le32(pb);
if (len < 32)
break;
sid = get_le32(pb) & 0x7FFF;
url_fskip(pb, 8);
consumed = 32;
Write
Preview
Loading…
Cancel
Save