mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/vorbisdec: Reset first_frame
This avoids returning a initial frame after seeking which does not match what would be received when decoding from the begin. Suggested-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
71da91e887
commit
5a376976a0
@ -1828,6 +1828,7 @@ static av_cold void vorbis_decode_flush(AVCodecContext *avctx)
|
||||
sizeof(*vc->saved));
|
||||
}
|
||||
vc->previous_window = -1;
|
||||
vc->first_frame = 0;
|
||||
}
|
||||
|
||||
AVCodec ff_vorbis_decoder = {
|
||||
|
Loading…
Reference in New Issue
Block a user