aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-23 04:49:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-23 04:49:04 +0200
commit4b87a088bf5acad2a11e9f9c1dcec8f29bab3ec9 (patch)
treea42f2f7b366968658fcb1797faa5d46351416d09 /libavcodec/h264.c
parent1af1b527727ccdfcfec8c02fa4e1ff291e9dd932 (diff)
parent9cd7b8549b71bcfced2062596fd9eecba092aeb1 (diff)
downloadffmpeg-4b87a088bf5acad2a11e9f9c1dcec8f29bab3ec9.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: configure: add --optflags option build: move documentation rules to doc/Makefile build: move test rules to tests/Makefile ac3enc: remove unneeded local variable in asym_quant() ac3enc: remove a branch in asym_quant() by doing 2 shifts ac3enc: avoid masking output in asym_quant() by using signed values for quantized mantissas. H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF H.264: fix 4:4:4 + deblocking + MBAFF H.264: fix 4:4:4 cropping warning H.264: reference the correct SPS in decode_scaling_matrices H.264: fix bug in lossless 4:4:4 decoding Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index aed5219649..dd9f425c3b 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3303,8 +3303,8 @@ static void loop_filter(H264Context *h, int start_x, int end_x){
uvlinesize = h->mb_uvlinesize = s->uvlinesize * 2;
if(mb_y&1){ //FIXME move out of this function?
dest_y -= s->linesize*15;
- dest_cb-= s->uvlinesize*7;
- dest_cr-= s->uvlinesize*7;
+ dest_cb-= s->uvlinesize*((8 << CHROMA444)-1);
+ dest_cr-= s->uvlinesize*((8 << CHROMA444)-1);
}
} else {
linesize = h->mb_linesize = s->linesize;