Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-18 02:48:34 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-18 02:48:34 +0400
commitc527c14d6323cafa3586d822d9c6fe96a2876102 (patch)
treec66a494657a6458c06b509bd16b938b19ee42713 /libavcodec/dvenc.c
parent162cffca802d7a2a46ba4f0015c668848c1170c8 (diff)
avcodec/dvenc: clear all dsp contexts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvenc.c')
-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);