* simplification patch by Jeffrey Ryan Muizelaar

Originally committed as revision 3491 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Jeff Muizelaar 21 years ago committed by Roman Shaposhnik
parent 457c649ac4
commit 21e1913175
  1. 3
      libavcodec/dv.c

@ -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];

Loading…
Cancel
Save