diff options
author | Jeff Muizelaar <jrmuizel@gmail.com> | 2004-09-22 05:04:18 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2004-09-22 05:04:18 +0000 |
commit | 21e1913175f89e1a0be2ea5eb1167ecc943985d7 (patch) | |
tree | 040a5ff11d78d5e4c8284c3cf5721905cd0c3618 | |
parent | 457c649ac41db4765491e98efb877bfd1dd3d118 (diff) | |
download | ffmpeg-streaming-21e1913175f89e1a0be2ea5eb1167ecc943985d7.zip ffmpeg-streaming-21e1913175f89e1a0be2ea5eb1167ecc943985d7.tar.gz |
* simplification patch by Jeffrey Ryan Muizelaar
Originally committed as revision 3491 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/dv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 8e359e3..ae50315 100644 --- a/libavcodec/dv.c +++ b/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]; |