Patch from Gianluigi Tiesi (sherpya at netfarm dot it):
authorD Richard Felker III <dalias@aerifal.cx>
Fri, 11 Mar 2005 19:52:43 +0000 (19:52 +0000)
committerD Richard Felker III <dalias@aerifal.cx>
Fri, 11 Mar 2005 19:52:43 +0000 (19:52 +0000)
"A small patch to avoid error compiling matroska.c on mingw"
My comment: using typedefs for things like this is always ridiculous.

Originally committed as revision 4031 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroska.c

index f542929..70ce86a 100644 (file)
@@ -2243,7 +2243,7 @@ matroska_read_header (AVFormatContext    *s,
 /*                 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;