mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
oggdec: Support byte based seeking
Fixed Ticket2317 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e10f5bd05c
commit
e278500181
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user