summaryrefslogtreecommitdiff
path: root/libavformat/lxfdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:08 +0100
commit74b3f67c9c0a237843a3379391b9929e9bcfcb6e (patch)
tree091bff9913be9ca258a72dfc0b11a91c424b1243 /libavformat/lxfdec.c
parentf59d8ff8cd75796256344a5c635054427928c62d (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/lxfdec.c')
-rw-r--r--libavformat/lxfdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c
index 8692e628e5..4e98c895cf 100644
--- a/libavformat/lxfdec.c
+++ b/libavformat/lxfdec.c
@@ -137,8 +137,8 @@ static int get_packet_header(AVFormatContext *s, uint8_t *header, uint32_t *form
case 0:
//video
//skip VBI data and metadata
- url_fskip(pb, (int64_t)(uint32_t)AV_RL32(&header[44]) +
- (int64_t)(uint32_t)AV_RL32(&header[52]));
+ avio_seek(pb, (int64_t)(uint32_t)AV_RL32(&header[44]) +
+ (int64_t)(uint32_t)AV_RL32(&header[52]), SEEK_CUR);
break;
case 1:
//audio
@@ -255,7 +255,7 @@ static int lxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (format == 1) {
//skip extended field data
- url_fskip(s->pb, (uint32_t)AV_RL32(&header[40]));
+ avio_seek(s->pb, (uint32_t)AV_RL32(&header[40]), SEEK_CUR);
}
return 0;