diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-07-09 11:03:26 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-09 13:32:55 -0700 |
commit | 7f7dc4fb55904e7b51b78ebca746c6755fc9770c (patch) | |
tree | ec1f4f001ef74ba050afb7dddeca0bb8d8bd2fdc | |
parent | e35c674d13a7f180412cfe058530a2e7f1d49a90 (diff) | |
download | ffmpeg-7f7dc4fb55904e7b51b78ebca746c6755fc9770c.tar.gz |
H.264: fix filter_mb_fast with 4:4:4 + 8x8dct
-rw-r--r-- | libavcodec/h264_loopfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c index 5de9f784d9..6eba8dcd02 100644 --- a/libavcodec/h264_loopfilter.c +++ b/libavcodec/h264_loopfilter.c @@ -317,7 +317,7 @@ void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, } else { LOCAL_ALIGNED_8(int16_t, bS, [2], [4][4]); int edges; - if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 ) { + if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 && !chroma444 ) { edges = 4; AV_WN64A(bS[0][0], 0x0002000200020002ULL); AV_WN64A(bS[0][2], 0x0002000200020002ULL); |