Multimedia :: mini-MPlayer patches



MPlayer version: 0.90rc2
Patch: http://pastebin.com/f143ee236
Configuration:
Comments:
Can be built with dietlibc.
- Use gcc 2.95.x.
- Compile and install ftp://prep.ai.mit.edu/pub/gnu/termcap/termcap-1.3.1.tar.gz
(The terminal handling code in dietlibc breaks the MPlayer progress indicator -- it doesn't refresh the indicator, it just outputs the text repeatedly.)
- In "config.mak", change "CC = gcc" to "CC = diet gcc".
- In "config.h", comment out (i.e. "//") these 2 lines:
Code Sample
#define HAVE_LRINTF 1
#define HAVE_MEMALIGN 1
- Comment out this line in "/opt/diet/include/unistd.h":
Code Sample
int open(const char* pathname,int flags, ...) __THROW;
because it is redefined in "libaf/af_*.c".
- Run "make".


original here.