Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2017-10-27 21:46:28 +0300
committerJan Ekström <jeebjp@gmail.com>2017-10-29 20:40:52 +0300
commita606f27f4c610708fa96e35eed7b7537d3d8f712 (patch)
treec89f447c93c6fa613aae2e34a933f86079109b8e /libavformat/version.h
parentbfb1a946255f9b12dccc6b12f5a865852f487a87 (diff)
lavf/avio: temporarily accept 0 as EOF.
Print a warning to let applicatios fix their use. After a deprecation period, check with a low-level assert. Also make the constraint explicit in the doxygen comment. Signed-off-by: Nicolas George <george@nsup.org>
Diffstat (limited to 'libavformat/version.h')
-rw-r--r--libavformat/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/version.h b/libavformat/version.h
index 4598d86ff1..2db03232e4 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -79,6 +79,9 @@
#ifndef FF_API_FORMAT_GET_SET
#define FF_API_FORMAT_GET_SET (LIBAVFORMAT_VERSION_MAJOR < 59)
#endif
+#ifndef FF_API_OLD_AVIO_EOF_0
+#define FF_API_OLD_AVIO_EOF_0 (LIBAVFORMAT_VERSION_MAJOR < 59)
+#endif
#ifndef FF_API_R_FRAME_RATE