aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 22:28:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:14 +0100
commit9951907f6fc37a8d41566dbee09f7c15ff587de6 (patch)
tree8c5013900cdc382eaad80430990a7f1ee188e8b6 /libavcodec/h264.h
parenta9b201cacf85d710b102010cb4baef97f00ea39b (diff)
downloadffmpeg-9951907f6fc37a8d41566dbee09f7c15ff587de6.tar.gz
h264: move redundant_pic_count into the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 18aa8cbc00..0696000294 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -356,6 +356,8 @@ typedef struct H264SliceContext {
ptrdiff_t mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff
ptrdiff_t mb_uvlinesize;
+ int redundant_pic_count;
+
/**
* number of neighbors (top and/or left) that used 8x8 dct
*/
@@ -577,8 +579,6 @@ typedef struct H264Context {
*/
int max_pic_num;
- int redundant_pic_count;
-
H264Picture default_ref_list[2][32]; ///< base reference list for all slices of a coded picture
H264Picture *short_ref[32];
H264Picture *long_ref[32];