[FFmpeg-cvslog] r10499 - trunk/libavcodec/vc1.c

kostya subversion
Sat Sep 15 11:23:58 CEST 2007


Author: kostya
Date: Sat Sep 15 11:23:58 2007
New Revision: 10499

Log:
In case when any quantizer may occur, HALFPQ should be zero

Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Sat Sep 15 11:23:58 2007
@@ -342,6 +342,8 @@ static int vop_dquant_decoding(VC1Contex
                 break;
             case DQPROFILE_ALL_MBS:
                 v->dqbilevel = get_bits1(gb);
+                if(!v->dqbilevel)
+                    v->halfpq = 0;
             default: break; //Forbidden ?
             }
             if (v->dqbilevel || v->dqprofile != DQPROFILE_ALL_MBS)




More information about the ffmpeg-cvslog mailing list