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

Mark Harris mark.hsj at gmail.com
Wed May 4 05:26:39 CEST 2016


> -    const char aux_data[] = LIBAVCODEC_IDENT;
> +    const char *aux_data = avctx->flags & AV_CODEC_FLAG_BITEXACT ?
> +                           NULL : LIBAVCODEC_IDENT;
>      const int aux_data_size = sizeof(aux_data);
>      const int header_size = 100 + aux_data_size;
>      int64_t max_frame_bytes, r_bitrate = avctx->bit_rate >> (s->interlaced);

sizeof(aux_data) is no longer the string length or the correct
aux_data_size, since aux_data was changed to a pointer.


More information about the ffmpeg-devel mailing list