From: Michael Niedermayer <mich...@niedermayer.cc> Note: I doubt requiring this in the future is a good idea See: [FFmpeg-devel] [PATCH 3/4] fate: add -fflags +bitexact to the relevant targets Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- ffmpeg.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/ffmpeg.c b/ffmpeg.c index ae02b00..7e29549 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2757,6 +2757,11 @@ static void set_encoder_id(OutputFile *of, OutputStream *ost) if (!encoder_string) exit_program(1); + if (!(format_flags & AVFMT_FLAG_BITEXACT) && (codec_flags & AV_CODEC_FLAG_BITEXACT)) { + av_log(NULL, AV_LOG_WARNING, "Muxer bitexact flag is not set, please add -fflags +bitexact.\n" + "This will become mandatory with future API cleanup\n"); + } + if (!(format_flags & AVFMT_FLAG_BITEXACT) && !(codec_flags & AV_CODEC_FLAG_BITEXACT)) av_strlcpy(encoder_string, LIBAVCODEC_IDENT " ", encoder_string_len); else -- 1.7.9.5 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel