* simplification patch by Jeffrey Ryan Muizelaar

Originally committed as revision 3491 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jeff Muizelaar 2004-09-22 05:04:18 +00:00 committed by Roman Shaposhnik
parent 457c649ac4
commit 21e1913175

View File

@ -394,8 +394,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
init_get_bits(&gb, buf_ptr, last_index);
/* get the dc */
dc = get_bits(&gb, 9);
dc = (dc << (32 - 9)) >> (32 - 9);
dc = get_sbits(&gb, 9);
dct_mode = get_bits1(&gb);
mb->dct_mode = dct_mode;
mb->scan_table = s->dv_zigzag[dct_mode];