[libav-commits] lavc: remove disabled FF_API_AVFRAME_AGE cruft.

Anton Khirnov git at libav.org
Fri Jan 27 10:47:47 CET 2012


Module: libav
Branch: master
Commit: 3b4aaa61906321b44e9724d9fed11e552406ea50

Author:    Anton Khirnov <anton at khirnov.net>
Committer: Anton Khirnov <anton at khirnov.net>
Date:      Sun Jan 22 10:56:42 2012 +0100

lavc: remove disabled FF_API_AVFRAME_AGE cruft.

---

 libavcodec/avcodec.h |    7 -------
 libavcodec/version.h |    3 ---
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 217bef2..18db7c5 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -923,13 +923,6 @@ typedef struct AVFrame {
      */
     int quality;
 
-#if FF_API_AVFRAME_AGE
-    /**
-     * @deprecated unused
-     */
-    attribute_deprecated int age;
-#endif
-
     /**
      * is this picture used as reference
      * The values for this are the same as the MpegEncContext.picture_structure
diff --git a/libavcodec/version.h b/libavcodec/version.h
index c630bf2..c8ed77e 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -44,9 +44,6 @@
 #ifndef FF_API_OLD_DECODE_AUDIO
 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
-#ifndef FF_API_AVFRAME_AGE
-#define FF_API_AVFRAME_AGE (LIBAVCODEC_VERSION_MAJOR < 54)
-#endif
 #ifndef FF_API_OLD_ENCODE_AUDIO
 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif



More information about the libav-commits mailing list