From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Wed, 27 Dec 2023 17:32:21 +0100 Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version --- libavcodec/codec2utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/codec2utils.h b/libavcodec/codec2utils.h index 6812ae895c..a03c3c0c5f 100644 --- a/libavcodec/codec2utils.h +++ b/libavcodec/codec2utils.h @@ -23,6 +23,7 @@ #define AVCODEC_CODEC2UTILS_H #include +#include //Highest mode we're willing to use. //Don't want to let users accidentally produce files that can't be decoded in the future. @@ -49,9 +50,8 @@ //Used in codec2raw demuxer and libcodec2 encoder static inline void codec2_make_extradata(uint8_t *ptr, int mode) { - //version 0.8 as of 2017-12-23 (r3386) - ptr[0] = 0; //major - ptr[1] = 8; //minor + ptr[0] = CODEC2_VERSION_MAJOR; + ptr[1] = CODEC2_VERSION_MINOR; ptr[2] = mode; //mode ptr[3] = 0; //flags } -- 2.39.2