Browse Source

lavc: add MPEG-H 3D Audio codec id

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.3
Yuki Tsuchiya James Almer 6 years ago
parent
commit
30047b6a57
3 changed files with 10 additions and 2 deletions
  1. +1
    -0
      libavcodec/avcodec.h
  2. +7
    -0
      libavcodec/codec_desc.c
  3. +2
    -2
      libavcodec/version.h

+ 1
- 0
libavcodec/avcodec.h View File

@@ -656,6 +656,7 @@ enum AVCodecID {
AV_CODEC_ID_ATRAC9,
AV_CODEC_ID_HCOM,
AV_CODEC_ID_ACELP_KELVIN,
AV_CODEC_ID_MPEGH_3D_AUDIO,

/* subtitle codecs */
AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.


+ 7
- 0
libavcodec/codec_desc.c View File

@@ -3016,6 +3016,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("Sipro ACELP.KELVIN"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_MPEGH_3D_AUDIO,
.type = AVMEDIA_TYPE_AUDIO,
.name = "mpegh_3d_audio",
.long_name = NULL_IF_CONFIG_SMALL("MPEG-H 3D Audio"),
.props = AV_CODEC_PROP_LOSSY,
},

/* subtitle codecs */
{


+ 2
- 2
libavcodec/version.h View File

@@ -28,8 +28,8 @@
#include "libavutil/version.h"

#define LIBAVCODEC_VERSION_MAJOR 58
#define LIBAVCODEC_VERSION_MINOR 64
#define LIBAVCODEC_VERSION_MICRO 101
#define LIBAVCODEC_VERSION_MINOR 65
#define LIBAVCODEC_VERSION_MICRO 100

#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \


Loading…
Cancel
Save