[DVDnav-discuss] [PATCH] Only -1 as open() return value indicates error

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Nov 6 20:27:08 CET 2012


On Tue, Nov 06, 2012 at 10:40:50AM -0800, Erik Hovland wrote:
> A similar fix was committed to my tree about a year ago.
> Let me know if it works for you. I intend to push that change
> to mplayerhq svn as soon as I can.

Well, to be pedantic you used >= 0.
I have no idea if anyone ever tried to run dvdnav on WinCE
or similar that actually have such an issue though...
Reading more on it, WinCE actually only has fopen but no open,
so possibly someone added their own hacky open() function
that just maps to fopen().


More information about the DVDnav-discuss mailing list