diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-29 20:01:42 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-31 00:30:37 +0400 |
commit | 67aec401d86c3b7c55ce6f97ea753dcb1ca04c95 (patch) | |
tree | bf7e504f76d746711559482436e28bfe48e2ea7c /libavcodec | |
parent | 12cbbbb4abda2de0ea123282ccf7ebee61517f7d (diff) |
libspeexdec: set frame size in libspeex_decode_init()
This fixes speex decoding, which was broken in 85469f1c.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libspeexdec.c | 1 |
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) { |