diff options
-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]; |