lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.
authorAnton Khirnov <anton@khirnov.net>
Fri, 24 Jun 2011 05:58:16 +0000 (07:58 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 2 Jul 2011 06:41:57 +0000 (08:41 +0200)
commit4f731c4429e1fe66a5c92ff15feb63253a36d8fb
treeeaa4e413e7f2efb4141644447daa3e930171e4c6
parent5001d6ef4a2b70fe903b1d2e3e64c6ad7cc1cfa6
lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.

av_open_input_stream used to allow this, even though it makes no sense.
Make it just print a warning instead of failing, thus restoring
compatibility.

Note that avformat_open_input() will still reject this combination.

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