Commit 87434009 authored by Michael Niedermayer's avatar Michael Niedermayer

h264: reset prev_poc_msb to the same value everywhere.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 934fe006
......@@ -2373,7 +2373,7 @@ static void idr(H264Context *h){
ff_h264_remove_all_refs(h);
h->prev_frame_num= -1;
h->prev_frame_num_offset= 0;
h->prev_poc_msb=
h->prev_poc_msb= 1<<16;
h->prev_poc_lsb= 0;
for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
h->last_pocs[i] = INT_MIN;
......
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