aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-25 16:18:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-25 16:18:35 +0000
commit93d45466335db2e4a69155b5871d6aa5d6215907 (patch)
tree3f7481518e18aaecf70a2115fc3f78f171718548 /libavcodec
parente21206a820339d4dbb8e98f5940b57c6d0cb2d6a (diff)
downloadffmpeg-93d45466335db2e4a69155b5871d6aa5d6215907.tar.gz
typo in a comment ...
Originally committed as revision 1821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 7a79d4ec74..2ec42aea39 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -3859,8 +3859,8 @@ static int dct_quantize_c(MpegEncContext *s,
level = block[j];
level = level * qmat[j];
-// if( bias+level >= (1<<(QMAT_SHIFT - 3))
-// || bias-level >= (1<<(QMAT_SHIFT - 3))){
+// if( bias+level >= (1<<QMAT_SHIFT)
+// || bias-level >= (1<<QMAT_SHIFT)){
if(((unsigned)(level+threshold1))>threshold2){
if(level>0){
level= (bias + level)>>QMAT_SHIFT;