diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 16:57:55 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-03 16:15:08 +0300 |
commit | 74b3f67c9c0a237843a3379391b9929e9bcfcb6e (patch) | |
tree | 091bff9913be9ca258a72dfc0b11a91c424b1243 /libavformat/matroskadec.c | |
parent | f59d8ff8cd75796256344a5c635054427928c62d (diff) |
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 72abfc1d56..7480475cd5 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1393,10 +1393,10 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) int flavor; ffio_init_context(&b, track->codec_priv.data,track->codec_priv.size, 0, NULL, NULL, NULL, NULL); - url_fskip(&b, 22); + avio_seek(&b, 22, SEEK_CUR); flavor = avio_rb16(&b); track->audio.coded_framesize = avio_rb32(&b); - url_fskip(&b, 12); + avio_seek(&b, 12, SEEK_CUR); track->audio.sub_packet_h = avio_rb16(&b); track->audio.frame_size = avio_rb16(&b); track->audio.sub_packet_size = avio_rb16(&b); |