[MPlayer-dev-eng] [PATCH] loader/win32.c cleanup of CreateFile should fix vp6vfw 2nd pass encoding on linux

Gianluigi Tiesi mplayer at netfarm.it
Sun Sep 16 03:58:06 CEST 2007


sorry the patch is wrong, I've fixed it but mencoder still crashes
I'll repost the fixed one when I'll able to make vp6vfw work
on linux,
btw


    /* Creation Disposition */
    switch (dwCreationDisposition)
    {
        case CREATE_ALWAYS:
            flags |= O_CREAT | O_TRUNC;
            break;
        case CREATE_NEW:
            flags |= O_CREAT | O_EXCL;
            break;
        case TRUNCATE_EXISTING:
            flags |= O_TRUNC;
            break;
        case OPEN_ALWAYS: /* flags ? */
        case OPEN_EXISTING: /* flags ? */
	}

what flags should I use in open() for OPEN_ALWAYS and OPEN_EXISTING?
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list