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
1024 return AVERROR_INVALIDDATA;1024 return AVERROR_INVALIDDATA;
1025 1025
1026 profile_level = avio_r8(pb);1026 profile_level = avio_r8(pb);
1027 if (profile_level & 0xf0 != 0xc0)1027 if ((profile_level & 0xf0) != 0xc0)
1028 return 0;1028 return 0;
1029 1029
1030 av_free(st->codec->extradata);1030 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