From 3cb018726ccc15ac09e60199d54aed78d53491e3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 2 Sep 2004 18:46:41 +0000 Subject: [PATCH] typo Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 04c559c710..569ed1e1b0 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1632,7 +1632,7 @@ static inline int mpeg1_fast_decode_block_inter(MpegEncContext *s, DCTELEM *bloc v= SHOW_UBITS(re, &s->gb, 2); if (v & 2) { LAST_SKIP_BITS(re, &s->gb, 2); - level= (3*qscale)>>4; + level= (3*qscale)>>1; level= (level-1)|1; if(v&1) level= -level;