[MPlayer-dev-eng] Re: PATCH [2/12] CoreAVC Decoder Support

Vladimir Voroshilov voroshil at gmail.com
Sat Feb 10 09:31:04 CET 2007

Hi, Alan
Another 2 cents.

2007/2/10, Alan Nisota <alannisota at gmail.com>:
> EnumMediaTypes->Next allocating an AM_MEDIA_TYPE structure, which I'm not sure
> how to free.  To free it, you need to call the windows DeleteMediaType (which
To free AM_MEDIA_TYPE structure you can use something like this (pmt
is pointer to AM_MEDIA_TYPE):
    if(pmt->pbFormat && pmt->cbFormat>0) free(pmt->pbFormat);
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719

More information about the MPlayer-dev-eng mailing list