From dc0481f2fbae4d5942ccabf2061900da3ee85f30 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Sun, 21 Feb 2016 16:39:54 +0000 Subject: [PATCH] vc2enc: use LAVC_INDENT instead of FFMPEG_VERSION for encoder comment Prevents from having to recompile vc2enc on every single commit. Signed-off-by: Rostislav Pehlivanov --- libavcodec/vc2enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c index c119322c49..4ef14a34c8 100644 --- a/libavcodec/vc2enc.c +++ b/libavcodec/vc2enc.c @@ -19,12 +19,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libavutil/ffversion.h" #include "libavutil/pixdesc.h" #include "libavutil/opt.h" #include "dirac.h" #include "put_bits.h" #include "internal.h" +#include "version.h" #include "vc2enc_dwt.h" #include "diractab.h" @@ -925,7 +925,7 @@ static av_cold int vc2_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, int ret; int max_frame_bytes, sig_size = 256; VC2EncContext *s = avctx->priv_data; - const char aux_data[] = "FFmpeg version "FFMPEG_VERSION; + const char aux_data[] = LIBAVCODEC_IDENT; const int aux_data_size = sizeof(aux_data); const int header_size = 100 + aux_data_size; int64_t r_bitrate = avctx->bit_rate >> (s->interlaced);