summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2011-10-06 21:55:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-07 00:57:05 +0200
commite588a5c2d418fdcf08ece076a2642de44f444d55 (patch)
treed1510770494bd45b09b1fec7a8e3a11f11c0773b /libavcodec/h264.h
parenta3ba542af39ba4425cbb44d2a0ae09c212b40001 (diff)
h264: fix the size of PPS::chroma_qp_table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1668e23bde..f4a463310e 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -229,7 +229,7 @@ typedef struct PPS{
int transform_8x8_mode; ///< transform_8x8_mode_flag
uint8_t scaling_matrix4[6][16];
uint8_t scaling_matrix8[6][64];
- uint8_t chroma_qp_table[2][64]; ///< pre-scaled (with chroma_qp_index_offset) version of qp_table
+ uint8_t chroma_qp_table[2][QP_MAX_NUM+1]; ///< pre-scaled (with chroma_qp_index_offset) version of qp_table
int chroma_qp_diff;
}PPS;