Commit 4e996604 authored by Michael Niedermayer's avatar Michael Niedermayer

mpegts: use seek_back() for all seek backs

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a5f23d8d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment