file: fix file_check()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Nov 2012 01:57:20 +0000 (02:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Nov 2012 02:53:53 +0000 (03:53 +0100)
commit407921072f6db318aea74115c2348aa00728d83a
tree4930c4a1d283ad1ef8a982f74746d58ae88ea2f9
parent109268c826aeb5fd52792c4ead8d56981868b518
file: fix file_check()

Fixes Ticket1904

This should work on windows, but if not please contact me ASAP
i have another idea on how to solve this without access() if that
really doesnt work on windows.

Strongly based on patch by divVerent
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/file.c