mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 05:31:04 +08:00
libopencore-amr: do not set AVCodecContext.frame_size
It is not necessary
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user