[FFmpeg-cvslog] r15293 - trunk/libavcodec/h264.c

darkshikari subversion
Thu Sep 11 02:34:39 CEST 2008


Author: darkshikari
Date: Thu Sep 11 02:34:39 2008
New Revision: 15293

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

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Sep 11 02:34:39 2008
@@ -7090,7 +7090,7 @@ static inline int decode_seq_parameter_s
         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{




More information about the ffmpeg-cvslog mailing list