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 ;)
This commit is contained in:
Marko Viitanen 2014-02-10 20:00:30 +02:00
parent 4bd6131499
commit 0ac12e72f6

View file

@ -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;