lavf/aviobuf: return EINVAL when reading from a write-only context.
authorNicolas George <george@nsup.org>
Fri, 27 Oct 2017 18:46:29 +0000 (20:46 +0200)
committerJan Ekström <jeebjp@gmail.com>
Sun, 29 Oct 2017 17:40:52 +0000 (19:40 +0200)
commit158a79c31d55d0b82ff3f514c586f5be033ad0c2
treed248b8e38a1b6990726c24694164569414702134
parenta606f27f4c610708fa96e35eed7b7537d3d8f712
lavf/aviobuf: return EINVAL when reading from a write-only context.

Signed-off-by: Nicolas George <george@nsup.org>
libavformat/aviobuf.c