Mercurial > mplayer.hg
view loader/ext.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 | 9e739bdb049c |
children |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_EXT_H #define MPLAYER_EXT_H #include "wine/windef.h" LPVOID FILE_dommap( int unix_handle, LPVOID start, DWORD size_high, DWORD size_low, DWORD offset_high, DWORD offset_low, int prot, int flags ); int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low ); int wcsnicmp( const unsigned short* s1, const unsigned short* s2, int n ); int __vprintf( const char *format, ... ); #endif /* MPLAYER_EXT_H */