diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-30 00:09:00 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:32:57 +0200 |
commit | 58ef77148c43e90461cf6c0c7d9535930dfbfe71 (patch) | |
tree | 343b1df56af27c39d75cf332d5053137d5d18d99 | |
parent | d3b435f842db92c8cddfd382a50c6d6049446f4b (diff) | |
download | ffmpeg-58ef77148c43e90461cf6c0c7d9535930dfbfe71.tar.gz |
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>
-rw-r--r-- | libavcodec/dss_sp.c | 1 |
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; |