Commit 95615617 authored by Christophe Massiot's avatar Christophe Massiot

Fixed a bug in QuantMatrixExtension, many thanks to "Thomas L. Wood"

<twood@lucent.com> !
parent 85e4b3a1
......@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: vpar_headers.c,v 1.9 2002/01/02 14:37:42 sam Exp $
* $Id: vpar_headers.c,v 1.10 2002/01/08 23:06:12 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
......@@ -1072,17 +1072,6 @@ static void QuantMatrixExtension( vpar_thread_t * p_vpar )
LoadMatrix( p_vpar, &p_vpar->sequence.chroma_nonintra_quant );
}
else
{
/* Link the chrominance intra matrix to the luminance one. */
LinkMatrix( &p_vpar->sequence.chroma_intra_quant,
p_vpar->sequence.intra_quant.pi_matrix );
}
if( GetBits( &p_vpar->bit_stream, 1 ) )
{
/* Load non_intra_quantiser_matrix for chrominance. */
LoadMatrix( p_vpar, &p_vpar->sequence.chroma_nonintra_quant );
}
else
{
/* Link the chrominance nonintra matrix to the luminance one. */
LinkMatrix( &p_vpar->sequence.chroma_nonintra_quant,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment