From 6d6cb538dc6e25252a1ed74596ae21327090b905 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Tue, 21 Sep 2004 05:30:41 +0000 Subject: [PATCH] add call to OggFLAC__ogg_decoder_aspect_reset() in OggFLAC__stream_decoder_reset() --- src/libOggFLAC/stream_decoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libOggFLAC/stream_decoder.c b/src/libOggFLAC/stream_decoder.c index be7c5d6..bccf28c 100644 --- a/src/libOggFLAC/stream_decoder.c +++ b/src/libOggFLAC/stream_decoder.c @@ -402,6 +402,8 @@ OggFLAC_API FLAC__bool OggFLAC__stream_decoder_reset(OggFLAC__StreamDecoder *dec return false; } + OggFLAC__ogg_decoder_aspect_reset(&decoder->protected_->ogg_decoder_aspect); + if(!FLAC__stream_decoder_reset(decoder->private_->FLAC_stream_decoder)) { decoder->protected_->state = OggFLAC__STREAM_DECODER_FLAC_STREAM_DECODER_ERROR; return false; -- 2.7.4