libopencore-amr: do not set AVCodecContext.frame_size

It is not necessary
This commit is contained in:
Justin Ruggles 2012-02-27 11:15:17 -05:00
parent 0efa4073bf
commit adbf61ff8a

View File

@ -33,7 +33,6 @@ static void amr_decode_fix_avctx(AVCodecContext *avctx)
if (!avctx->channels)
avctx->channels = 1;
avctx->frame_size = 160 * is_amr_wb;
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
}