diff libpostproc/postprocess_template.c @ 1196:2e06398e4647 libavcodec

mpeg2 qscale flag a few bugfixes for the C pp code minor optimization
author michaelni
date Fri, 18 Apr 2003 12:45:34 +0000
parents 71d890b5c13b
children 854571532c89
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c	Thu Apr 17 19:53:36 2003 +0000
+++ b/libpostproc/postprocess_template.c	Fri Apr 18 12:45:34 2003 +0000
@@ -2993,7 +2993,7 @@
 		uint8_t *tempBlock2= c.tempBlocks + 8;
 #endif
 		int8_t *QPptr= &QPs[(y>>qpVShift)*QPStride];
-		int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*mbWidth];
+		int8_t *nonBQPptr= &c.nonBQPTable[(y>>qpVShift)*QPStride];
 		int QP=0;
 		/* can we mess with a 8x16 block from srcBlock/dstBlock downwards and 1 line upwards
 		   if not than use a temporary buffer */