[FFmpeg-cvslog] lavc: remove disabled FF_API_AVFRAME_AGE cruft.

Anton Khirnov git at videolan.org
Sat Jan 28 08:05:05 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jan 22 10:56:42 2012 +0100| [3b4aaa61906321b44e9724d9fed11e552406ea50] | committer: Anton Khirnov

lavc: remove disabled FF_API_AVFRAME_AGE cruft.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b4aaa61906321b44e9724d9fed11e552406ea50
---

 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 ffmpeg-cvslog mailing list