[SCM] libav/experimental: Remove obsolete FF_API_REFERENCE_DTS cruft.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:04:17 UTC 2014


The following commit has been merged in the experimental branch:
commit 24c788f4878729a42150581d7ed7e9a11daf874d
Author: Anton Khirnov <anton at khirnov.net>
Date:   Wed Aug 6 19:58:57 2014 +0000

    Remove obsolete FF_API_REFERENCE_DTS cruft.

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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list