lavf/avio: temporarily accept 0 as EOF.
authorNicolas George <george@nsup.org>
Fri, 27 Oct 2017 18:46:28 +0000 (20:46 +0200)
committerJan Ekström <jeebjp@gmail.com>
Sun, 29 Oct 2017 17:40:52 +0000 (19:40 +0200)
commita606f27f4c610708fa96e35eed7b7537d3d8f712
treec89f447c93c6fa613aae2e34a933f86079109b8e
parentbfb1a946255f9b12dccc6b12f5a865852f487a87
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>
libavformat/avio.h
libavformat/aviobuf.c
libavformat/version.h