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:13 +0100
commit7747726667c86877feed30c9e18460cb8e63f551 (patch)
tree5d7dcb4681722c8a3a34a20ccd18d3d7a175ec32 /libavcodec/h264.h
parentee0d774dfa94655e44707ff3e02f4a4d282c1963 (diff)
downloadffmpeg-7747726667c86877feed30c9e18460cb8e63f551.tar.gz
h264: move map_col_to_list0[_field] into the per-slice context
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 71f531ec84..5221e2d64c 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -361,6 +361,8 @@ typedef struct H264SliceContext {
int dist_scale_factor[32];
int dist_scale_factor_field[2][32];
+ int map_col_to_list0[2][16 + 32];
+ int map_col_to_list0_field[2][2][16 + 32];
/**
* non zero coeff count cache.
@@ -447,9 +449,6 @@ typedef struct H264Context {
int picture_structure;
int first_field;
- int map_col_to_list0[2][16 + 32];
- int map_col_to_list0_field[2][2][16 + 32];
-
/**
* num_ref_idx_l0/1_active_minus1 + 1
*/