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

D Richard Felker III dalias at aerifal.cx
Fri Mar 11 20:59:52 CET 2005


On Fri, Mar 11, 2005 at 08:42:58PM +0100, Gianluigi Tiesi wrote:
> 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/

> 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;

Patches for libavcodec/libavformat should be sent to ffmpeg-devel
list, not mplayer. Anyway I'll apply it.

Rich




More information about the MPlayer-dev-eng mailing list