History

mov: fix operator precedence bug

Ronald S. Bultje committed 14 years ago

Commit f1f37c71 parent a2b186a1 file · +1 −1Browse files

Unified · Split

libavformat/mov.c+1−1
@@ -1024,7 +1024,7 @@ static int mov_read_dvc1(MOVContext *c, AVIOContext *pb, MOVAtom atom) · 1023 unmodified lines
10241024 return AVERROR_INVALIDDATA;
10251025
10261026 profile_level = avio_r8(pb);
1027− if (profile_level & 0xf0 != 0xc0)
1027+ if ((profile_level & 0xf0) != 0xc0)
10281028 return 0;
10291029
10301030 av_free(st->codec->extradata);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t