Skip to content
Snippets Groups Projects
Commit fbf7e805 authored by Martin Storsjö's avatar Martin Storsjö Committed by Benoit Fouet
Browse files

Only consider -1 as an error return value for open().

This is:
 - what Posix says (-1 on error, >=0 on success)
 - fixing a bug on winCE (<0 sometimes)

Patch by Martin Storsjö: martin martin st

Originally committed as revision 19513 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 94daf2e9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment