summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2008-08-27 20:25:47 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2008-08-27 20:25:47 +0000
commitf4acfa3887f21abbe9680b2da2813c205c843cbe (patch)
tree0a2e489515c52e0a6a7c23d4195f3073694a9f97 /libavcodec/dv.c
parentb1e3628e8c775cfe5a2440270e03a963e839e2a7 (diff)
downloadffmpeg-f4acfa3887f21abbe9680b2da2813c205c843cbe.tar.gz
Cosmetic change aimed at making it easier to see how bits are consumed
Originally committed as revision 14998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index b7dde76bed..d06f7536e0 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -385,9 +385,9 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
/* 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;