diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-06-20 01:01:58 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-06-20 01:11:31 +0200 |
commit | 2bc65003e2861eeeeae4db828890df33d2fc037c (patch) | |
tree | 60a167027c39daa798bdf61af65dee7f47ef0ed0 | |
parent | 7ff3dce29a7cadbe4790d3b6df080fc82fc0e04b (diff) | |
download | ffmpeg-2bc65003e2861eeeeae4db828890df33d2fc037c.tar.gz |
avcodec: AC-4 codec registration
-rw-r--r-- | libavcodec/codec_desc.c | 7 | ||||
-rw-r--r-- | libavcodec/codec_id.h | 1 | ||||
-rw-r--r-- | libavcodec/version.h | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 3e31a1eed6..4406dd8318 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -3406,6 +3406,13 @@ static const AVCodecDescriptor codec_descriptors[] = { .long_name = NULL_IF_CONFIG_SMALL("RKA (RK Audio)"), .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS, }, + { + .id = AV_CODEC_ID_AC4, + .type = AVMEDIA_TYPE_AUDIO, + .name = "ac4", + .long_name = NULL_IF_CONFIG_SMALL("AC-4"), + .props = AV_CODEC_PROP_LOSSY, + }, /* subtitle codecs */ { diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h index d23549d7e0..a5a0cb8525 100644 --- a/libavcodec/codec_id.h +++ b/libavcodec/codec_id.h @@ -542,6 +542,7 @@ enum AVCodecID { AV_CODEC_ID_FTR, AV_CODEC_ID_WAVARC, AV_CODEC_ID_RKA, + AV_CODEC_ID_AC4, /* subtitle codecs */ AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs. diff --git a/libavcodec/version.h b/libavcodec/version.h index ef9018e70b..da6f3a84ac 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,8 +29,8 @@ #include "version_major.h" -#define LIBAVCODEC_VERSION_MINOR 20 -#define LIBAVCODEC_VERSION_MICRO 101 +#define LIBAVCODEC_VERSION_MINOR 21 +#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ |