summaryrefslogtreecommitdiff
path: root/libavformat/mtv.c
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-10-19 01:42:05 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-10-19 01:42:05 +0000
commitcbd8a722bb2d6b873d4ddaab414e5e782bc838f3 (patch)
treead0abb56ac4633d525ef050d1bef44dac8d5d577 /libavformat/mtv.c
parent9cf6bbb9936b8afed2ef3e8ab2a462fa7f537a4f (diff)
Fix wrong comparison in r20304
Originally committed as revision 20305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r--libavformat/mtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 0547430f74..13e8ac2e8d 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -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;