# HG changeset patch # User darkshikari # Date 1221093279 0 # Node ID d35a71a3db5f626c6a978326c15132d6d51e5d8a # Parent 58f33e404d6ab06b2eb9cd65e68e4ac987991ba7 Fix incorrect printing of brainfart cropping error in some cases in progressive mode. diff -r 58f33e404d6a -r d35a71a3db5f h264.c --- a/h264.c Wed Sep 10 19:00:02 2008 +0000 +++ b/h264.c Thu Sep 11 00:34:39 2008 +0000 @@ -7090,7 +7090,7 @@ if(sps->crop_left || sps->crop_top){ av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completely supported, this could look slightly wrong ...\n"); } - if(sps->crop_right >= 8 || sps->crop_bottom >= (8>> !h->sps.frame_mbs_only_flag)){ + if(sps->crop_right >= 8 || sps->crop_bottom >= (8>> !sps->frame_mbs_only_flag)){ av_log(h->s.avctx, AV_LOG_ERROR, "brainfart cropping not supported, this could look slightly wrong ...\n"); } }else{