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)
|
if (!avctx->channels)
|
||||||
avctx->channels = 1;
|
avctx->channels = 1;
|
||||||
|
|
||||||
avctx->frame_size = 160 * is_amr_wb;
|
|
||||||
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user