Commit 3af2de76 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: set unused ref_counts to 0 as a precautionary meassure.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 78f08c06
......@@ -2903,7 +2903,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
else
h->list_count= 1;
}else
h->list_count= 0;
h->ref_count[1]= h->ref_count[0]= h->list_count= 0;
if(!default_ref_list_done){
ff_h264_fill_default_ref_list(h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment