[FFmpeg-cvslog] lavf: remove disabled FF_API_FILESIZE cruft

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


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 13:31:55 2012 +0100| [2f5e728b58c564b89f565fa2149dbbb6ccfce734] | committer: Anton Khirnov

lavf: remove disabled FF_API_FILESIZE cruft

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

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

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c2ce5b8..4f95ecc 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -835,13 +835,6 @@ typedef struct AVFormatContext {
      */
     int64_t duration;
 
-#if FF_API_FILESIZE
-    /**
-     * decoding: total file size, 0 if unknown
-     */
-    attribute_deprecated int64_t file_size;
-#endif
-
     /**
      * Decoding: total stream bitrate in bit/s, 0 if not
      * available. Never set it directly if the file_size and the
diff --git a/libavformat/version.h b/libavformat/version.h
index 59b252d..9b7ad49 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -47,9 +47,6 @@
  * Those FF_API_* defines are not part of public API.
  * They may change, break or disappear at any time.
  */
-#ifndef FF_API_FILESIZE
-#define FF_API_FILESIZE                (LIBAVFORMAT_VERSION_MAJOR < 54)
-#endif
 #ifndef FF_API_MUXRATE
 #define FF_API_MUXRATE                 (LIBAVFORMAT_VERSION_MAJOR < 54)
 #endif



More information about the ffmpeg-cvslog mailing list