mirror of https://git.ffmpeg.org/ffmpeg.git
h264: reset prev_poc_msb to the same value everywhere.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
934fe00680
commit
8743400961
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue