[MPlayer-dev-eng] [PATCH] Use high-level QuickTime decoding API

Steinar H. Gunderson sgunderson at bigfoot.com
Sat Mar 6 16:17:56 CET 2010


On Sat, Mar 06, 2010 at 04:12:58PM +0100, Steinar H. Gunderson wrote:
> FWIW: What happens if we move the initialization, including the call to
> mpcodecs_get_image, to init()? It seems to work just fine for me, and it
> would remove this worry, but is it legal in MPlayer? (The code sort of seems
> to assume mpi is static anyway, but...)

FWIW, here's an implementation of that. For some extra resilience, it returns
0 instead of crashing with a NULL dereference if -demuxer mov is not set.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-use-highlevel-decoding-api-v2.diff
Type: text/x-diff
Size: 17354 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100306/3e5a828b/attachment.diff>


More information about the MPlayer-dev-eng mailing list