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
pull/126/head
Jason Garrett-Glaser 17 years ago
parent 85a51e6bd5
commit 67ce33162a
  1. 2
      libavcodec/h264.c

@ -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{

Loading…
Cancel
Save