[FFmpeg-devel] [PATCH 1/3] doc,lavc,lavf: add avs2 codec
Moritz Barsnick
barsnick at gmx.net
Mon May 28 15:52:22 EEST 2018
On Mon, May 28, 2018 at 18:14:55 +0800, hwren wrote:
> --- a/libavcodec/allcodecs.c
> +++ b/libavcodec/allcodecs.c
> @@ -705,6 +705,7 @@ extern AVCodec ff_libx264_encoder;
> extern AVCodec ff_libx264rgb_encoder;
> extern AVCodec ff_libx265_encoder;
> extern AVCodec ff_libxavs_encoder;
> +extern AVCodec ff_libdavs2_decoder;
> extern AVCodec ff_libxvid_encoder;
Does this work without patch 2? (I didn't test.)
> @@ -689,6 +690,7 @@ enum AVCodecID {
> * stream (only used by libavformat) */
> AV_CODEC_ID_FFMETADATA = 0x21000, ///< Dummy codec for streams containing only metadata information.
> AV_CODEC_ID_WRAPPED_AVFRAME = 0x21001, ///< Passthrough codec, AVFrames wrapped in AVPacket
> +
> };
Why? Please omit this change.
> #define LIBAVCODEC_VERSION_MAJOR 58
> -#define LIBAVCODEC_VERSION_MINOR 19
> +#define LIBAVCODEC_VERSION_MINOR 20
> #define LIBAVCODEC_VERSION_MICRO 102
If you increase minor, you also need to reset micro to 100.
Moritz
More information about the ffmpeg-devel
mailing list