Mercurial > mplayer.hg
view loader/drv.h @ 29269:4d9de809b174
Add a hack to detect when we are writing into a Windows pipe since the fseek
incorrectly does not fail like it should.
This ensures we will not incorrectly append the file header at the end.
Based on patch by Zhou Zongyi [zhouzongyi at pset.suntec.net]
author | reimar |
---|---|
date | Sat, 16 May 2009 13:59:53 +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 */