avcodec/dss_sp: Remove redundant memset

An AVCodecContext's priv_data has already been zeroed generically before
calling the init function.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/362/head
Andreas Rheinhardt 4 years ago committed by Andreas Rheinhardt
parent d3b435f842
commit 58ef77148c
  1. 1
      libavcodec/dss_sp.c

@ -296,7 +296,6 @@ static av_cold int dss_sp_decode_init(AVCodecContext *avctx)
avctx->channels = 1;
avctx->sample_rate = 11025;
memset(p->history, 0, sizeof(p->history));
p->pulse_dec_mode = 1;
p->avctx = avctx;

Loading…
Cancel
Save