[MPlayer-dev-eng] [PATCH] AM_MEDIA_TYPE related utils
voroshil at gmail.com
Sun Feb 11 05:48:50 CET 2007
I suggest to add CreateMediaType,CopyMediaType,FreeMediaType and
DeleteMediaType. This will simplify loader/dshow code a little and
also prevent various memory leak issues related to AM_MEDIA_TYPE
I didnt add them to win32.c, because win32.c linkage occures only
under *nix, but this methods will be usefull under win32 too.
Attached patch adds files util.c and util.h. They could be also used
for adding another OS independent routines in future.
Changes in code for using new routines will be added as separate patch
if devs will accept this.
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-dev-eng