mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 07:38:30 +00:00
avcodec/huffyuvdec: Don't zero unnecessarily
A decoder's private data has already been zeroed (apart from options) before init is called. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
2d79ae3f8a
commit
cebf1d59a5
@ -346,7 +346,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
ff_bswapdsp_init(&s->bdsp);
|
||||
ff_huffyuvdsp_init(&s->hdsp, avctx->pix_fmt);
|
||||
ff_llviddsp_init(&s->llviddsp);
|
||||
memset(s->vlc, 0, 4 * sizeof(VLC));
|
||||
|
||||
s->interlaced = avctx->height > 288;
|
||||
s->bgr32 = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user