diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-27 11:18:33 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-05 13:08:17 -0500 |
commit | 85469f1c9eb1e678f9d7135dd6bcc1df68072e29 (patch) | |
tree | 27b7665d7f5131cbf3382497093626d521f398e8 | |
parent | adbf61ff8ab48d35f03362130311a2e4920feee9 (diff) | |
download | ffmpeg-85469f1c9eb1e678f9d7135dd6bcc1df68072e29.tar.gz |
libspeexdec: do not set AVCodecContext.frame_size
It is not necessary
-rw-r--r-- | libavcodec/libspeexdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index eba2f16949..7bff4255be 100644 --- a/libavcodec/libspeexdec.c +++ b/libavcodec/libspeexdec.c @@ -54,9 +54,6 @@ static av_cold int libspeex_decode_init(AVCodecContext *avctx) if (s->header) { avctx->sample_rate = s->header->rate; avctx->channels = s->header->nb_channels; - avctx->frame_size = s->frame_size = s->header->frame_size; - if (s->header->frames_per_packet) - avctx->frame_size *= s->header->frames_per_packet; mode = speex_lib_get_mode(s->header->mode); if (!mode) { |