mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/rmdec: Don't rely on unspecified order of evaluation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
9a471c5437
commit
4666ce0aef
1 changed files with 1 additions and 1 deletions
|
|
@ -1312,7 +1312,7 @@ static int ivr_read_header(AVFormatContext *s)
|
|||
if (avio_r8(pb) != 6)
|
||||
goto invalid_data;
|
||||
avio_skip(pb, 12);
|
||||
avio_skip(pb, avio_rb64(pb) + pos - avio_tell(s->pb));
|
||||
avio_seek(pb, avio_rb64(pb) + pos, SEEK_SET);
|
||||
if (avio_r8(pb) != 8)
|
||||
goto invalid_data;
|
||||
avio_skip(pb, 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue