[FFmpeg-devel] [PATCH] avcodec: disable depracted codec id names again

Hendrik Leppkes h.leppkes at gmail.com
Tue Mar 12 16:23:05 CET 2013


---
Depends on Nicolas' patch to rename the missing two occurances.

These were briefly enabled during merging to resolve compilation issues,
but have been deprecated long enough and should finally be gone (because
the compat layer with the #define CodecID is terribly ugly)

libavcodec/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/version.h b/libavcodec/version.h
index 3e01b47..26fdf86 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -89,7 +89,7 @@
 #define FF_API_FIND_BEST_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
 #ifndef FF_API_CODEC_ID
-#define FF_API_CODEC_ID          (LIBAVCODEC_VERSION_MAJOR < 56)
+#define FF_API_CODEC_ID          (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
 #ifndef FF_API_VDA_ASYNC
 #define FF_API_VDA_ASYNC         (LIBAVCODEC_VERSION_MAJOR < 55)
-- 
1.8.0.msysgit.0



More information about the ffmpeg-devel mailing list