summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.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/mpegts.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/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 5154b93a8a..d3137fedbc 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1346,7 +1346,7 @@ static int read_packet(AVFormatContext *s, uint8_t *buf, int raw_packet_size)
} else {
skip = raw_packet_size - TS_PACKET_SIZE;
if (skip > 0)
- url_fskip(pb, skip);
+ avio_seek(pb, skip, SEEK_CUR);
break;
}
}