Commit 53513831 authored by Michael Niedermayer's avatar Michael Niedermayer

-strict -1 comment fix

Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5c5dea3f
...@@ -552,7 +552,7 @@ static int encode_init(AVCodecContext *avctx) ...@@ -552,7 +552,7 @@ static int encode_init(AVCodecContext *avctx)
if(avctx->strict_std_compliance >= 0){ if(avctx->strict_std_compliance >= 0){
av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n" av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n"
"use vstrict=-1 to use it anyway\n"); "use vstrict=-1 / -strict -1 to use it anyway\n");
return -1; return -1;
} }
......
...@@ -542,7 +542,7 @@ static int encode_init(AVCodecContext *avctx) ...@@ -542,7 +542,7 @@ static int encode_init(AVCodecContext *avctx)
if(s->interlaced != ( s->height > 288 )) if(s->interlaced != ( s->height > 288 ))
av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n"); av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n");
}else if(avctx->strict_std_compliance>=0){ }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 decodeable with future versions!!! Set vstrict=-1 to use it anyway.\n"); av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodeable with future versions!!! Set vstrict=-1 / -strict -1 to use it anyway.\n");
return -1; return -1;
} }
......
...@@ -2628,7 +2628,7 @@ static int encode_init(AVCodecContext *avctx) ...@@ -2628,7 +2628,7 @@ static int encode_init(AVCodecContext *avctx)
if(avctx->strict_std_compliance >= 0){ if(avctx->strict_std_compliance >= 0){
av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n" av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n"
"use vstrict=-1 to use it anyway\n"); "use vstrict=-1 / -strict -1 to use it anyway\n");
return -1; return -1;
} }
......
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