[FFmpeg-devel] [PATCH 1/2] h264: re-add define for FF_PROFILE_H264_HIGH_444

Janne Grunau janne-ffmpeg
Tue Feb 1 22:11:52 CET 2011


I thought FF_ defines were considered internal

Janne
--8<--
same value as FF_PROFILE_H264_HIGH_444_PREDICTIVE for backwards
compatibility
---
 libavcodec/avcodec.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index d0de610..6b93598 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2274,6 +2274,9 @@ typedef struct AVCodecContext {
 #define FF_PROFILE_H264_HIGH_422_INTRA       (122|FF_PROFILE_H264_INTRA)
 #define FF_PROFILE_H264_HIGH_444_PREDICTIVE  244
 #define FF_PROFILE_H264_HIGH_444_INTRA       (244|FF_PROFILE_H264_INTRA)
+#if LIBAVCODEC_VERSION_MAJOR < 53
+#define FF_PROFILE_H264_HIGH_444             FF_PROFILE_H264_HIGH_444_PREDICTIVE
+#endif
 #define FF_PROFILE_H264_CAVLC_444            44
 
     /**
-- 
1.7.4




More information about the ffmpeg-devel mailing list