[FFmpeg-devel] [PATCH] vc2enc: do not print lavc version when the bitexact flag is enabled
Rostislav Pehlivanov
atomnuker at gmail.com
Thu May 5 01:23:35 CEST 2016
On 4 May 2016 at 03:56, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
Pushed an improved commit after suggestions
Thanks
More information about the ffmpeg-devel
mailing list