diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-30 15:46:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-30 16:23:50 +0200 |
commit | 4e99660493110bf546bd6ab14a08755633400cf8 (patch) | |
tree | 1a2838eb378e49e7b0f8f7061edee05d9415c90b | |
parent | a5f23d8da08ec6a0840eca906b83412903545b02 (diff) | |
download | ffmpeg-4e99660493110bf546bd6ab14a08755633400cf8.tar.gz |
mpegts: use seek_back() for all seek backs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index e2e734e32a..2048ad868a 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2080,7 +2080,7 @@ static int mpegts_read_header(AVFormatContext *s) st->start_time / 1000000.0, pcrs[0] / 27e6, ts->pcr_incr); } - avio_seek(pb, pos, SEEK_SET); + seek_back(s, pb, pos); return 0; fail: return -1; |