Context | Check | Description |
---|---|---|
andriy/x86 | warning | Failed to apply patch |
diff --git a/libavcodec/dss_sp.c b/libavcodec/dss_sp.c index 4f8ce55cc6..8288cdf120 100644 --- a/libavcodec/dss_sp.c +++ b/libavcodec/dss_sp.c @@ -295,7 +295,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;
An AVCodecContext's priv_data has already been zeroed generically before calling the init function. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- libavcodec/dss_sp.c | 1 - 1 file changed, 1 deletion(-)