lavf/avio: check for : in filenames for protocols.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 27 Feb 2013 18:19:15 +0000 (19:19 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 1 Mar 2013 07:56:06 +0000 (08:56 +0100)
commit8ffe243c85e542a77f9bda8d6a79005ada7dff27
tree70ef71f0dc9db9ff6fb72dba3be3f81faacb5d06
parent62e55034077d60ed84e962a287069a60aecbaab6
lavf/avio: check for : in filenames for protocols.

If the first "special" character in a filename is a comma,
it can introduce protocol options, but only if there is a
colon at the end. Otherwise, it is just a filename with a
comma.

Fix trac ticket #2303.
(cherry picked from commit d9fad53f4b447db1e436dcf3fc4a57e604616e6c)
libavformat/avio.c