mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
d3b435f842
commit
58ef77148c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue