mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
int pstart, psize;
|
||||||
int64_t fpos, pts, dts;
|
int64_t fpos, pts, dts;
|
||||||
|
|
||||||
|
if (s->io_repositioned) {
|
||||||
|
ogg_reset(s);
|
||||||
|
s->io_repositioned = 0;
|
||||||
|
}
|
||||||
|
|
||||||
//Get an ogg packet
|
//Get an ogg packet
|
||||||
retry:
|
retry:
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue