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>
This commit is contained in:
Andreas Rheinhardt 2020-11-30 00:09:00 +01:00 committed by Andreas Rheinhardt
parent d3b435f842
commit 58ef77148c
1 changed files with 0 additions and 1 deletions

View File

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