diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-18 12:45:34 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-18 12:45:34 +0000 |
commit | 0426af31117b1bc50b3abb2b4265c38b8c02e7a5 (patch) | |
tree | 4490f5d425e3bf7ec2f2bdc607a0c8591790efd7 /libavcodec/libpostproc/postprocess_template.c | |
parent | 22cf0455900adb1499763f12e8339987d85fe8c5 (diff) | |
download | ffmpeg-0426af31117b1bc50b3abb2b4265c38b8c02e7a5.tar.gz |
mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization
Originally committed as revision 1786 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 b4ecca123b..48027e4178 100644 --- a/libavcodec/libpostproc/postprocess_template.c +++ b/libavcodec/libpostproc/postprocess_template.c @@ -2993,7 +2993,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int 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 */ |