[FFmpeg-cvslog] avcodec/ra144: remove redundant AV_ZERO128

Michael Niedermayer git at videolan.org
Mon Feb 10 22:04:36 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 10 21:52:45 2014 +0100| [8f92edf6f86c1cfef16fe15a75bbea80f48e6df3] | committer: Michael Niedermayer

avcodec/ra144: remove redundant AV_ZERO128

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f92edf6f86c1cfef16fe15a75bbea80f48e6df3
---

 libavcodec/ra144dec.c |    2 --
 libavcodec/ra144enc.c |    1 -
 2 files changed, 3 deletions(-)

diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c
index 03ab9f5..ab7cc68 100644
--- a/libavcodec/ra144dec.c
+++ b/libavcodec/ra144dec.c
@@ -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;
diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c
index 71f206f..0db6032 100644
--- a/libavcodec/ra144enc.c
+++ b/libavcodec/ra144enc.c
@@ -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,



More information about the ffmpeg-cvslog mailing list