Mercurial > libavcodec.hg
changeset 7844:d35a71a3db5f libavcodec
Fix incorrect printing of brainfart cropping error in some cases in progressive mode.
author | darkshikari |
---|---|
date | Thu, 11 Sep 2008 00:34:39 +0000 |
parents | 58f33e404d6a |
children | e4edcbbca3f3 |
files | h264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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{