From d3640096aa03bc067daf6828d62358f2d26cd916 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 21 Mar 2012 21:43:19 +0100 Subject: [PATCH] Fix libspeex decoding. This parly reverts 85469f. Fixes ticket #1091. --- libavcodec/libspeexdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index 7c36208bf1..7c5544a092 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) {