summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--libavformat/avformat.h6
-rw-r--r--libavformat/version.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/version.h b/libavformat/version.h
index 0028c9b..8305438 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -48,6 +48,9 @@
* 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_ALLOC_OUTPUT_CONTEXT
#define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 56)