You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
committed by
Andreas Rheinhardt
parent
d3b435f842
commit
58ef77148c
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user