Commit 67ce3316 authored by Jason Garrett-Glaser's avatar Jason Garrett-Glaser

Fix incorrect printing of brainfart cropping error in some cases in progressive mode.

Originally committed as revision 15293 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 85a51e6b
......@@ -7090,7 +7090,7 @@ static inline int decode_seq_parameter_set(H264Context *h){
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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment