From 9cd81798187567c1495c595443923951c0c06926 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 May 2005 20:15:42 +0000 Subject: #defines for strict_std_compliance and split between inofficial extensions and non standarized things Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/huffyuv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/huffyuv.c') diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index d2f3585754..ebb1340ac8 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -541,8 +541,8 @@ static int encode_init(AVCodecContext *avctx) } if(s->interlaced != ( s->height > 288 )) av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n"); - }else if(avctx->strict_std_compliance>=0){ - av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodable with future versions!!! Set vstrict=-1 / -strict -1 to use it anyway.\n"); + }else if(avctx->strict_std_compliance>FF_COMPLIANCE_EXPERIMENTAL){ + av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodable with future versions!!! Set vstrict=-2 / -strict -2 to use it anyway.\n"); return -1; } -- cgit v1.2.3