[FFmpeg-cvslog] r14998 - trunk/libavcodec/dv.c

romansh subversion
Wed Aug 27 22:25:48 CEST 2008


Author: romansh
Date: Wed Aug 27 22:25:47 2008
New Revision: 14998

Log:
Cosmetic change aimed at making it easier to see how bits are consumed


Modified:
   trunk/libavcodec/dv.c

Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c	(original)
+++ trunk/libavcodec/dv.c	Wed Aug 27 22:25:47 2008
@@ -385,9 +385,9 @@ static inline void dv_decode_video_segme
             /* get the dc */
             dc = get_sbits(&gb, 9);
             dct_mode = get_bits1(&gb);
+            class1 = get_bits(&gb, 2);
             mb->idct_put = s->idct_put[dct_mode && log2_blocksize==3];
             mb->scan_table = s->dv_zigzag[dct_mode];
-            class1 = get_bits(&gb, 2);
             mb->factor_table = s->dv_idct_factor[class1 == 3][dct_mode]
                 [quant + dv_quant_offset[class1]];
             dc = dc << 2;




More information about the ffmpeg-cvslog mailing list