[MPlayer-dev-eng] [PATCH] AM_MEDIA_TYPE related utils

Vladimir Voroshilov voroshil at gmail.com
Sun Feb 11 05:48:50 CET 2007

Hi, All

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
ICQ: 95587719
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: media_type_utils.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070211/0142df13/attachment.txt>

More information about the MPlayer-dev-eng mailing list