diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-18 23:06:35 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-06-20 18:37:01 +0400 |
commit | f1f37c701143003fe5506a1fca971932382188ce (patch) | |
tree | 5bbafff88deef66588172b91096a96ea2d43dc90 /libavformat/mov.c | |
parent | a2b186a188c126dd0402414d9e8198ec4df63ebe (diff) |
mov: fix operator precedence bug
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 44dc2c821c..63c79cd002 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); |