Mercurial > libavformat.hg
diff segafilm.c @ 5110:147adb327b84 libavformat
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
author | benoit |
---|---|
date | Mon, 27 Jul 2009 12:36:22 +0000 |
parents | 49c1d3b27727 |
children | 536e5527c1e0 |