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