[MPlayer-dev-eng] [PATCH] MSU Codec and vd_vfw change fixing seg fault

Roberto Togni rxt at rtogni.it
Sun Apr 20 23:28:19 CEST 2008


On Fri, 11 Apr 2008 06:09:27 -0400
AsSlowAsHell <asslowashell at gmail.com> wrote:

> -Added info in codecs.conf to support MSU Screen Capture Lossless Codec
> -Changed the call to ICDecompress video for windows API to pass output
> buffer even if frame drop is true.  Certain codecs like MSU seem to
> write to the output buffer even if told to frame skip and this was
> causing a memory write to 0x00000000.

Applied the codecs.conf part of the patch, and added two dummy
functions to win32.c to remove some calls to unk_ functions (they are
some constructor/destructor for c++ stuff).
From the name (std::_Lockit) and by looking on the net it's probably
related to memory locking in multithread dll for ms c++, so it would be
nice if somebody with a multi-core cpu can test it (on 32-bit os that
uses the loader, in windows should be ok).

With the only sample I have
http://samples.mplayerhq.hu/V-codecs/SCLS/somewins.avi your other patch
to vd_vfw.c is not needed. Can you provide a sample that need this fix?

Ciao,
 Roberto

-- 
Better is the enemy of good enough.



More information about the MPlayer-dev-eng mailing list