aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-10 23:03:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-10 23:03:49 +0100
commit874340096120a219cdc456baa2de56bfa243d331 (patch)
tree23aec5410a4db1cfe8491ccb3f9584a8b0a37645 /libavcodec
parent934fe00680a1139cbc0950641655af5923dd7763 (diff)
downloadffmpeg-874340096120a219cdc456baa2de56bfa243d331.tar.gz
h264: reset prev_poc_msb to the same value everywhere.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
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;