avio: Fix sanity checks in ffurl_read*
authorMartin Storsjö <martin@martin.st>
Wed, 20 Apr 2011 14:09:46 +0000 (17:09 +0300)
committerAnton Khirnov <anton@khirnov.net>
Wed, 20 Apr 2011 15:00:11 +0000 (17:00 +0200)
commit26f6b8c571bcff7b325c7d6cc226c625dd465f8e
tree0fa2b9a0bce95790fc7b75cb2ad7242483e9027f
parent7bbb67d58005f3c0384f657570fabcdc0bc8cc21
avio: Fix sanity checks in ffurl_read*

This fixes e.g. reading data over HTTP, where the underlying
socket is set to read/write.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/avio.c