h264: reset prev_poc_msb to the same value everywhere.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-12-10 23:03:49 +01:00
parent 934fe00680
commit 8743400961

View File

@ -2373,7 +2373,7 @@ static void idr(H264Context *h){
ff_h264_remove_all_refs(h); ff_h264_remove_all_refs(h);
h->prev_frame_num= -1; h->prev_frame_num= -1;
h->prev_frame_num_offset= 0; h->prev_frame_num_offset= 0;
h->prev_poc_msb= h->prev_poc_msb= 1<<16;
h->prev_poc_lsb= 0; h->prev_poc_lsb= 0;
for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++) for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
h->last_pocs[i] = INT_MIN; h->last_pocs[i] = INT_MIN;