mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
cbf5d22d24
commit
45a8a02a41
@@ -95,7 +95,7 @@ static av_cold int rl2_read_header(AVFormatContext *s,
|
||||
int i;
|
||||
int ret = 0;
|
||||
|
||||
avio_seek(pb,4, SEEK_CUR); /* skip FORM tag */
|
||||
avio_skip(pb,4); /* skip FORM tag */
|
||||
back_size = avio_rl32(pb); /**< get size of the background frame */
|
||||
signature = avio_rb32(pb);
|
||||
data_size = avio_rb32(pb);
|
||||
|
||||
Reference in New Issue
Block a user