aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-03-21 21:43:19 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-03-21 22:19:23 +0100
commitd3640096aa03bc067daf6828d62358f2d26cd916 (patch)
tree6e821865fe21fbcce65fd87160f3a60eb473ff14
parent361c4cdca9c761a4f582830a9d53080ccc52dc94 (diff)
downloadffmpeg-d3640096aa03bc067daf6828d62358f2d26cd916.tar.gz
Fix libspeex decoding.
This parly reverts 85469f. Fixes ticket #1091.
-rw-r--r--libavcodec/libspeexdec.c1
1 files changed, 1 insertions, 0 deletions
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) {