Fix libspeex decoding.

This parly reverts 85469f.
Fixes ticket #1091.
This commit is contained in:
Carl Eugen Hoyos 2012-03-21 21:43:19 +01:00
parent 361c4cdca9
commit d3640096aa
1 changed files with 1 additions and 0 deletions

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