[FFmpeg-cvslog] h264: fix the size of PPS::chroma_qp_table

Laurent Aimar git at videolan.org
Fri Nov 4 13:22:15 CET 2011


ffmpeg | branch: release/0.8 | Laurent Aimar <fenrir at videolan.org> | Thu Oct  6 21:55:44 2011 +0200| [06b15b371539cb2f05f717b228d9173d4aee991d] | committer: Michael Niedermayer

h264: fix the size of PPS::chroma_qp_table

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit e588a5c2d418fdcf08ece076a2642de44f444d55)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06b15b371539cb2f05f717b228d9173d4aee991d
---

 libavcodec/h264.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 0a380e0..a6f3973 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;
 



More information about the ffmpeg-cvslog mailing list