From 914c04a48662f42662395f0ff2b39a47de49783a Mon Sep 17 00:00:00 2001 From: zhongcong Date: Wed, 17 Apr 2013 10:44:48 +0800 Subject: [PATCH] codecparser: h264: modify gst_h264_parse_pps and make pps Quantizer matrices correct --- gst-libs/gst/codecparsers/gsth264parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 4a071a7..7ad2d0b 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1700,8 +1700,8 @@ gst_h264_parse_pps (GstH264NalParser * nalparser, GstH264NalUnit * nalu, if (sps->scaling_matrix_present_flag) { if (!gst_h264_parser_parse_scaling_list (&nr, pps->scaling_lists_4x4, pps->scaling_lists_8x8, - sps->scaling_lists_4x4[0], sps->scaling_lists_4x4[3], - sps->scaling_lists_8x8[0], sps->scaling_lists_8x8[3], n_lists)) + sps->scaling_lists_4x4[3], sps->scaling_lists_4x4[0], + sps->scaling_lists_8x8[3], sps->scaling_lists_8x8[0], n_lists)) goto error; } else { if (!gst_h264_parser_parse_scaling_list (&nr, -- 1.7.9.5