Commit e2785001 authored by Michael Niedermayer's avatar Michael Niedermayer

oggdec: Support byte based seeking

Fixed Ticket2317
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e10f5bd0
......@@ -735,6 +735,11 @@ static int ogg_read_packet(AVFormatContext *s, AVPacket *pkt)
int pstart, psize;
int64_t fpos, pts, dts;
if (s->io_repositioned) {
ogg_reset(s);
s->io_repositioned = 0;
}
//Get an ogg packet
retry:
do {
......
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