summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.h
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-08-03 17:45:36 -0700
committerTimothy Gu <timothygu99@gmail.com>2016-08-03 17:45:52 -0700
commit826c780c1209a8bd7e98ad2c532cbee86401e746 (patch)
tree3f4bfbc1d84c8f3bab88a128ca57dc5adf822e7c /libavcodec/h264dec.h
parente4af9be0f45c8f2ca148fb971f1e0c6782530e8c (diff)
downloadffmpeg-826c780c1209a8bd7e98ad2c532cbee86401e746.tar.gz
Revert "Revert "Merge commit 'd1d7678040cd60148f97b372cb4291bcc45b2e22'""
This reverts commit e4af9be0f45c8f2ca148fb971f1e0c6782530e8c and redoes 796027f22154c799e0063e2457b31e0cfd1dddae. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
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 9483efbc43..3034a933c2 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -384,6 +384,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;