summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-20 11:04:55 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-21 11:19:19 +0200
commitd1d7678040cd60148f97b372cb4291bcc45b2e22 (patch)
treea8fc5ba7d7e611e0f3baf29642a484d9f4d8bd46 /libavcodec/h264dec.h
parentb13fc1e344011949929975a3451f78f226aa1de3 (diff)
downloadffmpeg-d1d7678040cd60148f97b372cb4291bcc45b2e22.tar.gz
h264: fix the check for mixed IDR/non-IDR slices
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r--libavcodec/h264dec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index e422871a62..6f3c4379e8 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -366,6 +366,11 @@ typedef struct H264Context {
*/
int postpone_filter;
+ /*
+ * Set to 1 when the current picture is IDR, 0 otherwise.
+ */
+ int picture_idr;
+
int8_t(*intra4x4_pred_mode);
H264PredContext hpc;