mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
libopencore-amr: do not set AVCodecContext.frame_size
It is not necessary
This commit is contained in:
parent
0efa4073bf
commit
adbf61ff8a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user