Mercurial > libavcodec.hg
changeset 2247:f8ac68cd4fa8 libavcodec
* simplification patch by Jeffrey Ryan Muizelaar
author | romansh |
---|---|
date | Wed, 22 Sep 2004 05:04:18 +0000 |
parents | 3414ac0b8c55 |
children | e4e1b4f31db6 |
files | dv.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dv.c Tue Sep 21 23:10:10 2004 +0000 +++ b/dv.c Wed Sep 22 05:04:18 2004 +0000 @@ -394,8 +394,7 @@ 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];