From c90bf89b1696b0a61c1f43f4baeb3c59c8d5049c Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 14 Sep 2011 14:21:47 +0200 Subject: [PATCH] codecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM. --- gst-libs/gst/codecparsers/gstmpegvideoparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c index e871017fa0..399e834767 100644 --- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c +++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c @@ -520,7 +520,7 @@ gst_mpeg_video_parse_quant_matrix_extension (GstMpegVideoQuantMatrixExt * quant, } READ_UINT8 (&br, quant->load_chroma_intra_quantiser_matrix, 1); - if (quant->load_non_intra_quantiser_matrix) { + if (quant->load_chroma_intra_quantiser_matrix) { for (i = 0; i < 64; i++) { READ_UINT8 (&br, quant->chroma_intra_quantiser_matrix[mpeg_zigzag_8x8[i]], 8);