Commit 8f92edf6 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ra144: remove redundant AV_ZERO128

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c3390fd5
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment