lavf/file: file_check: Handle file URLs that start with "file:"
authorAlexander Strasser <eclipse7@gmx.net>
Thu, 2 Jan 2014 18:00:15 +0000 (19:00 +0100)
committerAlexander Strasser <eclipse7@gmx.net>
Sat, 4 Jan 2014 22:19:37 +0000 (23:19 +0100)
commit77015443a84bb5dbed38eafc2ea26a2bf2641ed6
treef98b381c5a79004ab9fc5d0ab0166c12b5d3113b
parent262451878bab87670fba06fa6c9d798a81d39646
lavf/file: file_check: Handle file URLs that start with "file:"

Handle the URL analog to file_open, it may contain a "file:"
prefix. Skip it. Make access checks to file URLs starting
with "file:" work.

Fix part of ticket #3249.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
libavformat/file.c