Make file_open() return the error code set in errno if open() fails,
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 26 Apr 2010 22:36:51 +0000 (22:36 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 26 Apr 2010 22:36:51 +0000 (22:36 +0000)
commitec6791736c94af12ec49010cdbc98d1f10ef7de0
tree239e6916ec0bd83b752987e32e9e42c66b2388ba
parent932d775fa2d66ce26ce182c8499678f97ecad63c
Make file_open() return the error code set in errno if open() fails,
rather than always ENOENT.

Originally committed as revision 22972 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/file.c