[MPlayer-users] Windows binary proprietary codec

Fernandon Bautista fernandobautista017 at gmail.com
Mon Aug 10 11:47:57 CEST 2015

Thanks for your answer! I will try to go for the second approach and if it
does not work, then I will ask you for this local version of mplayer for
running on wine.

On Sat, Aug 8, 2015 at 7:02 PM, Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> On Fri, Aug 07, 2015 at 12:25:48PM +0200, Fernandon Bautista wrote:
> > 2) Compile 32 bit mplayer:
> I have a local hack I never finished that uses only
> a 32 bit stub, in case that 32 bit MPlayer is an annoyance.
> That stub can also be compiled as a Windows program to
> be run via wine (actually that's the only way currently,
> I haven't fixed it to support our loader).
> It needs significant cleanup though, but if you might
> consider going to that level of effort I can send it out.
> > Called unk_InitializeSecurityDescriptor
> >
> > I understand that there is not implementation of the
> > InitializeSecurityDescriptor function. I took a look to the code and I
> > understood that you grabbed some Wine code to emulate/fake system calls .
> We actually don't emulate any system calls to my knowledge, only library
> calls.
> > want to fix these and I was wondering if there is any doc or guidelines
> > for  doing it.
> Not really.
> Your starting point would be loader/win32.c
> For this function, exp_advapi32 array.
> Then mostly try a copy-paste of an existing function like RegCloseKey
> (just search for all occurrences of that string), most importantly
> adjust the function signature to match the real thing
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa378863%28v=vs.85%29.aspx
> and find out the least effort way to "implement" it that
> makes the codec happy.
> In that case I'd start by just returning 0 (i.e. error), and
> hope they used the "just keep going when things go wrong"
> strategy of error handling.
> Alternatively and even simpler, hope they designed the codec
> to work on win9x and use the UNDEFF macro instead.
> Instead of providing a fake emulation, that one says "no,
> that function does not exist", which would be like on
> win9x.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

More information about the MPlayer-users mailing list