[FFmpeg-devel] [PATCH] lavc: Prevent opening of experimental codecs if strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL.

compn tempn at twmi.rr.com
Fri Jan 13 15:23:37 CET 2012

On Fri, 13 Jan 2012 06:42:35 +0100, Michael Niedermayer wrote:
>Some of these encoders may produce invalid bitstreams, which should not
>be done without the user knowing.
>Some of these decoders may be unfinished and may contain security issues.

>+            av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, see -strict -2\n");
>+            ret = -1;
>+            goto free_and_end;

would a warning be better? i dont like to force the user to type extra
commands just to use certain decoders. but i am not that strong against
this, just imo.


More information about the ffmpeg-devel mailing list