[MPlayer-dev-eng] demux_mov fix for OSX 10.4

Steven M. Schultz sms at 2BSD.COM
Tue May 10 02:32:14 CEST 2005


On Sun, 8 May 2005, Steven M. Schultz wrote:

> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4   -faltivec -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.. -I../loader   -I../libavcodec -I../libavformat    -o demux_mov.o demux_mov.c
> demux_mov.c: In function 'lschunks':
> demux_mov.c:535: warning: pointer targets in passing argument 2 of 'stream_read' differ in signedness
> demux_mov.c:652: warning: pointer targets in passing argument 2 of 'stream_read' differ in signedness
> demux_mov.c:1095: error: 'ImageDescription' undeclared (first use in this function)
> demux_mov.c:1095: error: (Each undeclared identifier is reported only once

        I have found the cause of the weirdness (but haven't figured out why
        it worked on 10.3 but not on 10.4).

        If you have libquicktime installed on the system then due to the
        idiotic case-insenstive filesystem the compiler will see
        /usr/local/include/quicktime/quicktime.h as a match for
        <QuickTime/QuickTime.h>

        Sigh - it's off to the libquicktime folks to see what can be done
        about this, it's nothing MPlayer devs need to worry about.

	Cheers,
	Steven Schultz
-------------- next part --------------
--- libmpdemux/demux_mov.c.dist	2005-05-07 22:00:43.000000000 -0700
+++ libmpdemux/demux_mov.c	2005-05-08 16:07:41.000000000 -0700
@@ -37,6 +37,8 @@
 
 #ifdef MACOSX
 #include <QuickTime/QuickTime.h>
+#include <QuickTime/ImageCompression.h>
+#include <QuickTime/ImageCodec.h>
 #else
 #include "../loader/qtx/qtxsdk/components.h"
 #endif
-------------- next part --------------
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


More information about the MPlayer-dev-eng mailing list