History

avcodec: AC-4 codec registration

Paul B Mahol committed 3 years ago

Commit 2bc65001 parent 7ff3dce3 files · +10 −2Browse files

Unified · Split

3 files
  1. libavcodec/codec_desc.c +7 −0
  2. libavcodec/codec_id.h +1 −0
  3. libavcodec/version.h +2 −2
libavcodec/codec_desc.c+7−0
@@ -3406,6 +3406,13 @@ static const AVCodecDescriptor codec_descriptors[] = { · 3405 unmodified lines
34063406 .long_name = NULL_IF_CONFIG_SMALL("RKA (RK Audio)"),
34073407 .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
34083408 },
3409+ {
3410+ .id = AV_CODEC_ID_AC4,
3411+ .type = AVMEDIA_TYPE_AUDIO,
3412+ .name = "ac4",
3413+ .long_name = NULL_IF_CONFIG_SMALL("AC-4"),
3414+ .props = AV_CODEC_PROP_LOSSY,
3415+ },
34093416
34103417 /* subtitle codecs */
34113418 {
libavcodec/codec_id.h+1−0
@@ -542,6 +542,7 @@ enum AVCodecID { · 541 unmodified lines
542542 AV_CODEC_ID_FTR,
543543 AV_CODEC_ID_WAVARC,
544544 AV_CODEC_ID_RKA,
545+ AV_CODEC_ID_AC4,
545546
546547 /* subtitle codecs */
547548 AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.
libavcodec/version.h+2−2
@@ -29,8 +29,8 @@ · 28 unmodified lines
2929
3030 #include "version_major.h"
3131
32−#define LIBAVCODEC_VERSION_MINOR 20
33−#define LIBAVCODEC_VERSION_MICRO 101
32+#define LIBAVCODEC_VERSION_MINOR 21
33+#define LIBAVCODEC_VERSION_MICRO 100
3434
3535 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
3636 LIBAVCODEC_VERSION_MINOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t