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

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


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

lavc: remove disabled FF_API_DATA_POINTERS cruft.

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

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

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 8a048d2..217bef2 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -854,11 +854,7 @@ enum AVSideDataParamChangeFlags {
  * sizeof(AVFrame) must not be used outside libav*.
  */
 typedef struct AVFrame {
-#if FF_API_DATA_POINTERS
-#define AV_NUM_DATA_POINTERS 4
-#else
 #define AV_NUM_DATA_POINTERS 8
-#endif
     /**
      * pointer to the picture/channel planes.
      * This might be different from the first allocated byte
diff --git a/libavcodec/version.h b/libavcodec/version.h
index b725bb0..c630bf2 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -41,9 +41,6 @@
 #ifndef FF_API_REQUEST_CHANNELS
 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
-#ifndef FF_API_DATA_POINTERS
-#define FF_API_DATA_POINTERS (LIBAVCODEC_VERSION_MAJOR < 54)
-#endif
 #ifndef FF_API_OLD_DECODE_AUDIO
 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif



More information about the ffmpeg-cvslog mailing list