[FFmpeg-cvslog] lavc: clarify experimental codec message

Lou Logan git at videolan.org
Thu Jun 7 01:44:15 CEST 2012


ffmpeg | branch: release/0.11 | Lou Logan <lou at lrcd.com> | Tue May 29 17:43:23 2012 -0800| [b395bac383a435a111bea237f87e897b7e0111a8] | committer: Michael Niedermayer

lavc: clarify experimental codec message

Should be easier for new users to get a working output.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 73f3f6baffa5386552dbe9a94d56f36286bc26f6)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b395bac383a435a111bea237f87e897b7e0111a8
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 15dd05a..2cfe849 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -789,7 +789,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
 
     if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
         if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
-            av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, see -strict -2\n");
+            av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, try -strict -2\n");
             ret = -1;
             goto free_and_end;
         }



More information about the ffmpeg-cvslog mailing list