Re: Patch for XVID MPEG-4 DirectShow/MediaFoundation filter

Jerker Bäck <[email protected]> Mon, 13 Jun 2011 15:22:44 +0200
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
Hi Michael,

> If it's a short patch ...
Well, it is simple but rather long so here you go:

http://pastebin.com/xXPrSuMP

Basically the patch neutralizes the effect of the UNICODE define by
explicitly use wide char versions of conflicting functions. In effect it
doesn't matter if you choose undefined, MBCS or UNICODE character set.

cheers
Jerker