summaryrefslogtreecommitdiff
path: root/libavcodec/dss_sp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 00:09:00 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:32:57 +0200
commit58ef77148c43e90461cf6c0c7d9535930dfbfe71 (patch)
tree343b1df56af27c39d75cf332d5053137d5d18d99 /libavcodec/dss_sp.c
parentd3b435f842db92c8cddfd382a50c6d6049446f4b (diff)
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>
Diffstat (limited to 'libavcodec/dss_sp.c')
-rw-r--r--libavcodec/dss_sp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dss_sp.c b/libavcodec/dss_sp.c
index ca6d748804..b904585b5d 100644
--- a/libavcodec/dss_sp.c
+++ b/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;