[FFmpeg-cvslog] libspeexdec: set frame size in libspeex_decode_init()

Justin Ruggles git at videolan.org
Sun Apr 1 00:58:07 CEST 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Mar 29 12:01:42 2012 -0400| [67aec401d86c3b7c55ce6f97ea753dcb1ca04c95] | committer: Justin Ruggles

libspeexdec: set frame size in libspeex_decode_init()

This fixes speex decoding, which was broken in 85469f1c.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=67aec401d86c3b7c55ce6f97ea753dcb1ca04c95
---

 libavcodec/libspeexdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c
index 7bff425..686c9e8 100644
--- a/libavcodec/libspeexdec.c
+++ b/libavcodec/libspeexdec.c
@@ -54,6 +54,7 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx)
     if (s->header) {
         avctx->sample_rate = s->header->rate;
         avctx->channels    = s->header->nb_channels;
+        s->frame_size      = s->header->frame_size;
 
         mode = speex_lib_get_mode(s->header->mode);
         if (!mode) {



More information about the ffmpeg-cvslog mailing list