Browse Source

mov: fix operator precedence bug

tags/n1.0
Ronald S. Bultje Mans Rullgard 13 years ago
parent
commit
f1f37c7011
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -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);


Loading…
Cancel
Save