Browse Source

libspeexdec: set frame size in libspeex_decode_init()

This fixes speex decoding, which was broken in 85469f1c.
tags/n0.11
Justin Ruggles 13 years ago
parent
commit
67aec401d8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/libspeexdec.c

+ 1
- 0
libavcodec/libspeexdec.c 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) {


Loading…
Cancel
Save