Browse Source

avcodec/ra144: remove redundant AV_ZERO128

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
8f92edf6f8
2 changed files with 0 additions and 3 deletions
  1. +0
    -2
      libavcodec/ra144dec.c
  2. +0
    -1
      libavcodec/ra144enc.c

+ 0
- 2
libavcodec/ra144dec.c View File

@@ -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;


+ 0
- 1
libavcodec/ra144enc.c View File

@@ -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…
Cancel
Save