[FFmpeg-cvslog] Remove obsolete FF_API_REFERENCE_DTS cruft.

Anton Khirnov git at videolan.org
Sun Aug 10 02:07:35 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Aug  6 19:58:57 2014 +0000| [24c788f4878729a42150581d7ed7e9a11daf874d] | committer: Anton Khirnov

Remove obsolete FF_API_REFERENCE_DTS cruft.

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

 libavformat/avformat.h |    5 -----
 libavformat/version.h  |    3 ---
 2 files changed, 8 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2948d40..61ae6fa 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -826,11 +826,6 @@ typedef struct AVStream {
 
     int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
 
-#if FF_API_REFERENCE_DTS
-    /* a hack to keep ABI compatibility for avconv, which accesses parser even
-     * though it should not */
-    int64_t do_not_use;
-#endif
     // Timestamp generation support:
     int64_t first_dts;
     int64_t cur_dts;
diff --git a/libavformat/version.h b/libavformat/version.h
index 5eb9249..7258d4d 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -48,9 +48,6 @@
  * dropped at a future version bump. The defines themselves are not part of
  * the public API and may change, break or disappear at any time.
  */
-#ifndef FF_API_REFERENCE_DTS
-#define FF_API_REFERENCE_DTS            (LIBAVFORMAT_VERSION_MAJOR < 56)
-#endif
 #ifndef FF_API_LAVF_BITEXACT
 #define FF_API_LAVF_BITEXACT            (LIBAVFORMAT_VERSION_MAJOR < 57)
 #endif



More information about the ffmpeg-cvslog mailing list