Mercurial > mplayer.hg
view loader/drv.h @ 33033:1aed51b973fa
Ensure we always pass a buffer of at least sector size to the read function.
This is never an issue with streams that have actual sectors, the reads
will always return a multiple of sector size and the cache is always used
in blocks of sector size.
However the rtp protocol misuses this so it can just assume it always has
a sufficiently large buffer available and thus fails without this extra hack.
author | reimar |
---|---|
date | Sat, 26 Mar 2011 20:04:47 +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 */