Mercurial > mplayer.hg
view loader/drv.h @ 30327:028ec0735169
swscale-example: use av_malloc()
Image buffers require 16-byte alignment, so av_malloc() should be used.
Fixes crash on PPC.
author | mru |
---|---|
date | Tue, 19 Jan 2010 03:47:11 +0000 |
parents | 0b21ffa03b9c |
children | 26f673ba0675 |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_DRV_H #define MPLAYER_DRV_H #ifdef __cplusplus extern "C" { #endif #include "wine/windef.h" #include "wine/driver.h" void SetCodecPath(const char* path); void CodecAlloc(void); void CodecRelease(void); HDRVR DrvOpen(LPARAM lParam2); void DrvClose(HDRVR hdrvr); #ifdef __cplusplus } #endif #endif /* MPLAYER_DRV_H */