diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-29 23:17:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-29 23:22:12 +0200 |
commit | f8b81a02c980609c450992a0c261330a1ae95d86 (patch) | |
tree | e7671400bde97296a86fbbd631f2f9b522fd0213 /libavformat/oggdec.c | |
parent | 6c87b866285fae0a45ab4d7162088428f60bd332 (diff) | |
download | ffmpeg-f8b81a02c980609c450992a0c261330a1ae95d86.tar.gz |
avformat/oggdec: ogg_read_seek: reset ogg after seeking
Fixes Ticket4743
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/oggdec.c')
-rw-r--r-- | libavformat/oggdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 6edef13ff7..ae56915b58 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -907,6 +907,7 @@ static int ogg_read_seek(AVFormatContext *s, int stream_index, os->keyframe_seek = 1; ret = ff_seek_frame_binary(s, stream_index, timestamp, flags); + ogg_reset(s); os = ogg->streams + stream_index; if (ret < 0) os->keyframe_seek = 0; |