summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-12 13:29:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-13 00:26:27 +0200
commit87fe0bbd69bfd70558d2d80a1768f94e6d14ed5a (patch)
treec63014dfef0d1ff7b0406711d5487d5cbed6103a /libavcodec/codec_desc.c
parentfd54f700720a0fed7432a2b3741989d9bff09d99 (diff)
lavc: rename h265 to hevc, add AV_CODEC_ID_H265 with identical value for backward compatibility
Somehow 2 different identifiers have come into existence which makes supporting both until the next major version bump required I did not investigate how exactly that did happen. wm4, j-b and smarter prefer hevc. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 935df11995..bb5f92a985 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -226,9 +226,9 @@ static const AVCodecDescriptor codec_descriptors[] = {
.props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
},
{
- .id = AV_CODEC_ID_H265,
+ .id = AV_CODEC_ID_HEVC,
.type = AVMEDIA_TYPE_VIDEO,
- .name = "h265",
+ .name = "hevc",
.long_name = NULL_IF_CONFIG_SMALL("H.265 / HEVC"),
.props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
},