Mercurial > libavcodec.hg
diff libpostproc/postprocess_template.c @ 1724:ea5200a9f730 libavcodec
mpeg2 QP clamping fix
author | michael |
---|---|
date | Sun, 04 Jan 2004 17:29:51 +0000 |
parents | d2fc92d02bf7 |
children | 4225c131a2eb |
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c Sun Jan 04 17:13:14 2004 +0000 +++ b/libpostproc/postprocess_template.c Sun Jan 04 17:29:51 2004 +0000 @@ -2792,7 +2792,7 @@ const int mbWidth= isColor ? (width+7)>>3 : (width+15)>>4; #ifdef HAVE_MMX - for(i=0; i<32; i++){ + for(i=0; i<57; i++){ int offset= ((i*c.ppMode.baseDcDiff)>>8) + 1; int threshold= offset*2 + 1; c.mmxDcOffset[i]= 0x7F - offset;