mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
avcodec/ra144: remove redundant AV_ZERO128
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c3390fd56c
commit
8f92edf6f8
@ -39,8 +39,6 @@ static av_cold int ra144_decode_init(AVCodecContext * avctx)
|
||||
ractx->lpc_coef[0] = ractx->lpc_tables[0];
|
||||
ractx->lpc_coef[1] = ractx->lpc_tables[1];
|
||||
|
||||
AV_ZERO128(ractx->buffer_a+BLOCKSIZE);
|
||||
|
||||
avctx->channels = 1;
|
||||
avctx->channel_layout = AV_CH_LAYOUT_MONO;
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||
|
@ -60,7 +60,6 @@ static av_cold int ra144_encode_init(AVCodecContext * avctx)
|
||||
ractx = avctx->priv_data;
|
||||
ractx->lpc_coef[0] = ractx->lpc_tables[0];
|
||||
ractx->lpc_coef[1] = ractx->lpc_tables[1];
|
||||
AV_ZERO128(ractx->buffer_a+BLOCKSIZE);
|
||||
ractx->avctx = avctx;
|
||||
ff_dsputil_init(&ractx->dsp, avctx);
|
||||
ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER,
|
||||
|
Loading…
Reference in New Issue
Block a user