diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-01-04 17:29:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-01-04 17:29:51 +0000 |
commit | 2e90b37c5e6b238d262ea6bf1bb6bc33fb5d4315 (patch) | |
tree | 1169fba483830cc4c2350c242984475a3a52581f /libavcodec/libpostproc/postprocess_template.c | |
parent | 0982834b04d3c607171b3ab8b2093fec3575e18f (diff) |
mpeg2 QP clamping fix
Originally committed as revision 2663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libpostproc/postprocess_template.c')
-rw-r--r-- | libavcodec/libpostproc/postprocess_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libpostproc/postprocess_template.c b/libavcodec/libpostproc/postprocess_template.c index e3dbfbf3e3..7ebc08bd4a 100644 --- a/libavcodec/libpostproc/postprocess_template.c +++ b/libavcodec/libpostproc/postprocess_template.c @@ -2792,7 +2792,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int 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; |