History

avformat/rmdec: Don't rely on unspecified order of evaluation

Andreas Rheinhardt committed 5 years ago

Commit 4666ce01 parent 9a471c51 file · +1 −1Browse files

Unified · Split

libavformat/rmdec.c+1−1
@@ -1312,7 +1312,7 @@ static int ivr_read_header(AVFormatContext *s) · 1311 unmodified lines
1312 if (avio_r8(pb) != 6)1312 if (avio_r8(pb) != 6)
1313 goto invalid_data;1313 goto invalid_data;
1314 avio_skip(pb, 12);1314 avio_skip(pb, 12);
1315 avio_skip(pb, avio_rb64(pb) + pos - avio_tell(s->pb));1315 avio_seek(pb, avio_rb64(pb) + pos, SEEK_SET);
1316 if (avio_r8(pb) != 8)1316 if (avio_r8(pb) != 8)
1317 goto invalid_data;1317 goto invalid_data;
1318 avio_skip(pb, 8);1318 avio_skip(pb, 8);

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