Throw out last experimental warning that was printed for colorspaces with more than
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Mar 2010 15:04:11 +0000 (15:04 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 22 Mar 2010 15:04:11 +0000 (15:04 +0000)
8 bits per component. This does no good except scaring users away.

Originally committed as revision 22633 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ffv1.c

index c2b68e4..2efe7e1 100644 (file)
@@ -669,11 +669,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
     case PIX_FMT_YUV444P16:
     case PIX_FMT_YUV422P16:
     case PIX_FMT_YUV420P16:
-        if(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL){
-            av_log(avctx, AV_LOG_ERROR, "More than 8 bit per component is still experimental and no gurantee is yet made for future compatibility\n"
-               "Use vstrict=-2 / -strict -2 to use it anyway.\n");
-            return -1;
-        }
         if(avctx->bits_per_raw_sample <=8){
             av_log(avctx, AV_LOG_ERROR, "bits_per_raw_sample invalid\n");
             return -1;