diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-10 23:03:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-10 23:03:49 +0100 |
commit | 874340096120a219cdc456baa2de56bfa243d331 (patch) | |
tree | 23aec5410a4db1cfe8491ccb3f9584a8b0a37645 | |
parent | 934fe00680a1139cbc0950641655af5923dd7763 (diff) | |
download | ffmpeg-874340096120a219cdc456baa2de56bfa243d331.tar.gz |
h264: reset prev_poc_msb to the same value everywhere.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index a9a527723c..2d6047009b 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; |