diff options
author | Nicolas George <george@nsup.org> | 2017-10-27 20:46:28 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-10-29 19:40:52 +0200 |
commit | a606f27f4c610708fa96e35eed7b7537d3d8f712 (patch) | |
tree | c89f447c93c6fa613aae2e34a933f86079109b8e /libavformat/version.h | |
parent | bfb1a946255f9b12dccc6b12f5a865852f487a87 (diff) | |
download | ffmpeg-a606f27f4c610708fa96e35eed7b7537d3d8f712.tar.gz |
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.h | 3 |
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 |