[FFmpeg-devel] [PATCH] vc2enc: do not print lavc version when the bitexact flag is enabled

Michael Niedermayer michael at niedermayer.cc
Wed May 4 04:56:01 CEST 2016


On Wed, May 04, 2016 at 01:39:21AM +0100, Rostislav Pehlivanov wrote:
> Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> ---
>  libavcodec/vc2enc.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
> index 943198b..6226558 100644
> --- a/libavcodec/vc2enc.c
> +++ b/libavcodec/vc2enc.c
> @@ -994,7 +994,8 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
>      int ret = 0;
>      int sig_size = 256;
>      VC2EncContext *s = avctx->priv_data;
> -    const char aux_data[] = LIBAVCODEC_IDENT;
> +    const char *aux_data = avctx->flags & AV_CODEC_FLAG_BITEXACT ?
> +                           NULL : LIBAVCODEC_IDENT;

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160504/52c80b0b/attachment.sig>


More information about the ffmpeg-devel mailing list