aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-03-29 12:01:42 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-30 16:30:37 -0400
commit67aec401d86c3b7c55ce6f97ea753dcb1ca04c95 (patch)
treebf7e504f76d746711559482436e28bfe48e2ea7c
parent12cbbbb4abda2de0ea123282ccf7ebee61517f7d (diff)
downloadffmpeg-67aec401d86c3b7c55ce6f97ea753dcb1ca04c95.tar.gz
libspeexdec: set frame size in libspeex_decode_init()
This fixes speex decoding, which was broken in 85469f1c.
-rw-r--r--libavcodec/libspeexdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c
index 7bff4255be..686c9e8142 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) {