mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix wrong comparison in r20304
Originally committed as revision 20305 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9cf6bbb993
commit
cbd8a722bb
@ -62,7 +62,7 @@ static int mtv_probe(AVProbeData *p)
|
||||
return 0;
|
||||
|
||||
/* If width or height are 0 then imagesize header field should not */
|
||||
if(AV_RL16(&p->buf[52]) && AV_RL16(&p->buf[54]))
|
||||
if(!AV_RL16(&p->buf[52]) || !AV_RL16(&p->buf[54]))
|
||||
{
|
||||
if(!!AV_RL16(&p->buf[56]))
|
||||
return AVPROBE_SCORE_MAX/2;
|
||||
|
Loading…
Reference in New Issue
Block a user