lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
6b4aa5dac8
commit
e356fc57a2
@@ -61,7 +61,7 @@ static int avs_read_header(AVFormatContext * s, AVFormatParameters * ap)
|
||||
|
||||
s->ctx_flags |= AVFMTCTX_NOHEADER;
|
||||
|
||||
url_fskip(s->pb, 4);
|
||||
avio_seek(s->pb, 4, SEEK_CUR);
|
||||
avs->width = avio_rl16(s->pb);
|
||||
avs->height = avio_rl16(s->pb);
|
||||
avs->bits_per_sample = avio_rl16(s->pb);
|
||||
@@ -204,7 +204,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt)
|
||||
break;
|
||||
|
||||
default:
|
||||
url_fskip(s->pb, size - 4);
|
||||
avio_seek(s->pb, size - 4, SEEK_CUR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user