[FFmpeg-devel] [PATCH 1/7] lavc: add AV_CODEC_ID_HEVC as a synonym for the existing AV_CODEC_ID_H265

Michael Niedermayer michaelni at gmx.at
Sat Oct 12 18:44:26 CEST 2013


Some developers have choosen to use AV_CODEC_ID_HEVC, so we need that to be compatible

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/avcodec.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 2917a2f..41986da 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -303,6 +303,7 @@ enum AVCodecID {
     AV_CODEC_ID_WEBP       = MKBETAG('W','E','B','P'),
     AV_CODEC_ID_SMVJPEG    = MKBETAG('S','M','V','J'),
     AV_CODEC_ID_H265       = MKBETAG('H','2','6','5'),
+#define AV_CODEC_ID_HEVC AV_CODEC_ID_H265
 
     /* various PCM "codecs" */
     AV_CODEC_ID_FIRST_AUDIO = 0x10000,     ///< A dummy id pointing at the start of audio codecs
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list