diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-24 20:37:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-24 20:37:02 +0200 |
commit | ffd9d60201a7f226ad3dad011e08e7ff10595036 (patch) | |
tree | 10e17250ffd244c47c5b986b6d82295e512e5739 | |
parent | 8e2fcd1cb4be938768db74af5c08350df6a156d7 (diff) | |
download | ffmpeg-ffd9d60201a7f226ad3dad011e08e7ff10595036.tar.gz |
avcodec: Add codec_desc and remapping for AV_CODEC_ID_PCM_S16BE_PLANAR_DEPRECATED
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/codec_desc.c | 7 | ||||
-rw-r--r-- | libavcodec/utils.c | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index b7e8c5da46..bb8e1b4108 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -2909,6 +2909,13 @@ static const AVCodecDescriptor codec_descriptors[] = { .props = AV_CODEC_PROP_LOSSLESS, }, { + .id = AV_CODEC_ID_PCM_S16BE_PLANAR_DEPRECATED, + .type = AVMEDIA_TYPE_AUDIO, + .name = "pcm_s16be_planar_deprecated", + .long_name = NULL_IF_CONFIG_SMALL("PCM signed 16-bit big-endian planar (deprecated id)"), + .props = AV_CODEC_PROP_LOSSLESS, + }, + { .id = AV_CODEC_ID_TAK_DEPRECATED, .type = AVMEDIA_TYPE_AUDIO, .name = "tak_deprecated", diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 78e14a29e1..7696582aff 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2893,6 +2893,7 @@ static enum AVCodecID remap_deprecated_codec_id(enum AVCodecID id) case AV_CODEC_ID_OPUS_DEPRECATED : return AV_CODEC_ID_OPUS; case AV_CODEC_ID_TAK_DEPRECATED : return AV_CODEC_ID_TAK; case AV_CODEC_ID_PAF_AUDIO_DEPRECATED : return AV_CODEC_ID_PAF_AUDIO; + case AV_CODEC_ID_PCM_S16BE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S16BE_PLANAR; case AV_CODEC_ID_PCM_S24LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S24LE_PLANAR; case AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED : return AV_CODEC_ID_PCM_S32LE_PLANAR; case AV_CODEC_ID_ADPCM_VIMA_DEPRECATED : return AV_CODEC_ID_ADPCM_VIMA; |