[FFmpeg-devel] [PATCH 4/5] avcodec: add "Argonaut Games Video" descriptor
Paul B Mahol
onemda at gmail.com
Mon Sep 7 17:33:58 EEST 2020
On Mon, Sep 07, 2020 at 01:14:26PM +0000, Zane van Iperen wrote:
> Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
> ---
> libavcodec/codec_desc.c | 7 +++++++
> libavcodec/codec_id.h | 1 +
> libavcodec/version.h | 2 +-
> 3 files changed, 9 insertions(+), 1 deletion(-)
>
If there is no actual video decoder source code ever
going to be added then no point in adding this.
> diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
> index 9e73dcba27..f33585adaa 100644
> --- a/libavcodec/codec_desc.c
> +++ b/libavcodec/codec_desc.c
> @@ -1412,6 +1412,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
> .long_name = NULL_IF_CONFIG_SMALL("PGX (JPEG2000 Test Format)"),
> .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
> },
> + {
> + .id = AV_CODEC_ID_ARGO,
> + .type = AVMEDIA_TYPE_VIDEO,
> + .name = "argo",
> + .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Video"),
> + .props = AV_CODEC_PROP_LOSSY,
> + },
> {
> .id = AV_CODEC_ID_Y41P,
> .type = AVMEDIA_TYPE_VIDEO,
> diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
> index e4eca5d580..3d115187b4 100644
> --- a/libavcodec/codec_id.h
> +++ b/libavcodec/codec_id.h
> @@ -242,6 +242,7 @@ enum AVCodecID {
> AV_CODEC_ID_RSCC,
> AV_CODEC_ID_AVS2,
> AV_CODEC_ID_PGX,
> + AV_CODEC_ID_ARGO,
>
> AV_CODEC_ID_Y41P = 0x8000,
> AV_CODEC_ID_AVRP,
> diff --git a/libavcodec/version.h b/libavcodec/version.h
> index 4b221f96ad..5ce4ba55d9 100644
> --- a/libavcodec/version.h
> +++ b/libavcodec/version.h
> @@ -28,7 +28,7 @@
> #include "libavutil/version.h"
>
> #define LIBAVCODEC_VERSION_MAJOR 58
> -#define LIBAVCODEC_VERSION_MINOR 105
> +#define LIBAVCODEC_VERSION_MINOR 106
> #define LIBAVCODEC_VERSION_MICRO 100
>
> #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
> --
> 2.25.4
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list