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
Make probing for VC1 test bitstream format stricter
Originally committed as revision 19860 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov
16 years ago
parent
2370338850
commit
23218a9801
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavformat/vc1test.c
+ 3
- 1
libavformat/vc1test.c
View File
@@ -33,7 +33,9 @@
static int vc1t_probe(AVProbeData *p)
{
if (p->buf[3] != 0xC5 || AV_RL32(&p->buf[4]) != 4)
if (p->buf_size < 24)
return 0;
if (p->buf[3] != 0xC5 || AV_RL32(&p->buf[4]) != 4 || AV_RL32(&p->buf[20]) != 0xC)
return 0;
return AVPROBE_SCORE_MAX/2;
Write
Preview
Loading…
Cancel
Save