summaryrefslogtreecommitdiff
path: root/libavformat/ncdec.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/ncdec.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/ncdec.c')
-rw-r--r--libavformat/ncdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 9f62f22ffb..79a4dbafab 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -73,7 +73,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
avio_r8(s->pb);
size = avio_rl16(s->pb);
- url_fskip(s->pb, 9);
+ avio_seek(s->pb, 9, SEEK_CUR);
if (size == 0) {
av_log(s, AV_LOG_DEBUG, "Next packet size is zero\n");