[FFmpeg-cvslog] Fix libspeex decoding.

Carl Eugen Hoyos git at videolan.org
Wed Mar 21 22:27:27 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Mar 21 21:43:19 2012 +0100| [d3640096aa03bc067daf6828d62358f2d26cd916] | committer: Carl Eugen Hoyos

Fix libspeex decoding.

This parly reverts 85469f.
Fixes ticket #1091.

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

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

diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c
index 7c36208..7c5544a 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