From 0ac12e72f6248838b8b16d81081ddc41845838bb Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Mon, 10 Feb 2014 20:00:30 +0200 Subject: [PATCH] Added init value for encoder->ref_list to fix valgrind warnings This might help with issue #16 Thanks again to ps-auxw for pointing this out ;) --- src/encoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/encoder.c b/src/encoder.c index e4728f07..c2376f69 100644 --- a/src/encoder.c +++ b/src/encoder.c @@ -305,6 +305,7 @@ encoder_control *init_encoder_control(config *cfg) } enc_c->ref = pic_list; + enc_c->ref_list = REF_PIC_LIST_0; return enc_c;