diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-06-22 02:05:14 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-06-22 02:39:17 -0700 |
commit | 7c9079ab4cf0bcf34103fc9c5e49ec1fd7dd390c (patch) | |
tree | 9efdc93f5880e40e8a48eda3a489a713dd695a91 /libavcodec/h264.c | |
parent | 932db250243812380640112fd27a59bc0642bc8a (diff) | |
download | ffmpeg-7c9079ab4cf0bcf34103fc9c5e49ec1fd7dd390c.tar.gz |
H.264: fix 4:4:4 + deblocking + MBAFF
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 124f9a88cd..6bee7c39b0 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3300,8 +3300,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; |