[FFmpeg-cvslog] mov: fix operator precedence bug
Ronald S. Bultje
git at videolan.org
Wed Jun 20 21:25:31 CEST 2012
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Mon Jun 18 20:06:35 2012 +0100| [f1f37c701143003fe5506a1fca971932382188ce] | committer: Mans Rullgard
mov: fix operator precedence bug
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1f37c701143003fe5506a1fca971932382188ce
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 44dc2c8..63c79cd 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1024,7 +1024,7 @@ static int mov_read_dvc1(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return AVERROR_INVALIDDATA;
profile_level = avio_r8(pb);
- if (profile_level & 0xf0 != 0xc0)
+ if ((profile_level & 0xf0) != 0xc0)
return 0;
av_free(st->codec->extradata);
More information about the ffmpeg-cvslog
mailing list