Mercurial > mplayer.hg
diff osdep/getch2.h @ 31872:66b846665274
Use the stream functions instead of the fopen/fread/fclose interface
directly.
Avoids potential portability issues already solved by stream_file,
makes it easier to support reading e.g. over smb and allows reusing
code e.g. to read endian-independent values needed for e.g. CLIPINFO
support.
author | reimar |
---|---|
date | Tue, 10 Aug 2010 13:26:19 +0000 |
parents | 44837471a711 |
children |