[MPlayer-dev-eng] [PATCH] matroska mingw compile on win32

Gianluigi Tiesi mplayer at netfarm.it
Fri Mar 11 20:42:58 CET 2005


A small patch to avoid error compiling matroska.c on mingw
u_char -> unsigned char


Bye
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
diff -NubBr -xCVS -xhelp_mp.h -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log -xconfig.mak -x.cvsignore -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/libavformat/matroska.c sherpya/libavformat/matroska.c
--- main/libavformat/matroska.c	2005-03-08 10:18:49.117401600 +0100
+++ sherpya/libavformat/matroska.c	2005-03-11 19:36:11.329454400 +0100
@@ -2243,7 +2243,7 @@
 /*                 codec_id = CODEC_ID_DTS; */
             else if (!strcmp(track->codec_id,
                              MATROSKA_CODEC_ID_AUDIO_VORBIS)) {
-                u_char *p = track->codec_priv, *cdp;
+                unsigned char *p = track->codec_priv, *cdp;
                 int cps = track->codec_priv_size;
                 int nf, s[3], cds;
                 int i;


More information about the MPlayer-dev-eng mailing list