aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2011-10-06 21:55:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-11-04 00:59:41 +0100
commit06b15b371539cb2f05f717b228d9173d4aee991d (patch)
tree38e5595749d979a5d29205c77f94883b91b2b98c
parent614ef0dc0d9f2d6ec7e2e41a00d285b7a6a2eea1 (diff)
downloadffmpeg-06b15b371539cb2f05f717b228d9173d4aee991d.tar.gz
h264: fix the size of PPS::chroma_qp_table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit e588a5c2d418fdcf08ece076a2642de44f444d55) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h264.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 0a380e03c1..a6f39730ff 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -227,7 +227,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;