1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-05 07:48:07 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-02 00:45:41 +02:00
parent 78f08c06e6
commit 3af2de76ac

View File

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