summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dvenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
index 4ea181c6d8..c639bea2e8 100644
--- a/libavcodec/dvenc.c
+++ b/libavcodec/dvenc.c
@@ -69,7 +69,9 @@ static av_cold int dvvideo_encode_init(AVCodecContext *avctx)
dv_vlc_map_tableinit();
+ memset(&fdsp,0, sizeof(fdsp));
memset(&mecc,0, sizeof(mecc));
+ memset(&pdsp,0, sizeof(pdsp));
ff_fdctdsp_init(&fdsp, avctx);
ff_me_cmp_init(&mecc, avctx);
ff_pixblockdsp_init(&pdsp, avctx);