summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-10-29 13:44:50 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-11-05 06:58:52 -0700
commitea2bb12e3e47baa0f8d50ef68be678f425c7e4cf (patch)
treee2c5afd0beaca03f654306ec476ead6bee22b329 /libavcodec/h264.h
parented669c9becf9d03c25e78ee98c2e4de564b854fc (diff)
h264: improve calculation of codec delay.
Fixes the following conformance suite samples: HCBP1_HHI_A.264, HCBP2_HHI_A.264, HCMP1_HHI_A.264 (main) HCHP1_HHI_B.264, HCHP2_HHI_A.264, HCHP3_HHI_A.264 (frext)
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index bd2b5d8fe5..caea7ba7eb 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -488,6 +488,7 @@ typedef struct H264Context{
Picture *long_ref[32];
Picture default_ref_list[2][32]; ///< base reference list for all slices of a coded picture
Picture *delayed_pic[MAX_DELAYED_PIC_COUNT+2]; //FIXME size?
+ int last_pocs[MAX_DELAYED_PIC_COUNT];
Picture *next_output_pic;
int outputed_poc;
int next_outputed_poc;