1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-03 09:27:53 +02:00

libspeexdec: set frame size in libspeex_decode_init()

This fixes speex decoding, which was broken in 85469f1c.
This commit is contained in:
Justin Ruggles 2012-03-29 12:01:42 -04:00
parent 12cbbbb4ab
commit 67aec401d8

View File

@ -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) {