Mercurial > mplayer.hg
view loader/drv.h @ 32752:5c39b0060c2c
Use mp_dir_join instead of sprintf.
This avoids a potential heap overflow and create a cleaner path: no double "//"
in the path for example, or even "\\/" on DOS-like systems.
author | cboesch |
---|---|
date | Tue, 01 Feb 2011 19:22:43 +0000 |
parents | ff7b06c867cd |
children |
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 #include "wine/windef.h" #include "wine/driver.h" void CodecAlloc(void); void CodecRelease(void); HDRVR DrvOpen(LPARAM lParam2); void DrvClose(HDRVR hdrvr); #endif /* MPLAYER_DRV_H */