Index: src/comskip/mpegaudiodec.c =================================================================== --- src/comskip/mpegaudiodec.c (revision 64) +++ src/comskip/mpegaudiodec.c (working copy) @@ -28,7 +28,7 @@ #ifdef DEBUG #define dprintf printf #else -void dprintf(const char* fmt,...) {} +//void dprintf(const char* fmt,...) {} #endif #include "common.h" Index: src/comskip/Makefile =================================================================== --- src/comskip/Makefile (revision 64) +++ src/comskip/Makefile (working copy) @@ -4,8 +4,9 @@ CXX = c++ LEX = flex YACC = yacc -ARCHFLAGS= -force_cpusubtype_ALL -arch i386 -arch ppc7400 -CFLAGS = -g -pipe -Wall -W -O2 -fasm-blocks -Wno-unused -DHAVE_CONFIG_H $(ARCHFLAGS) +#ARCHFLAGS= -force_cpusubtype_ALL -arch i386 -arch ppc7400 +ARCHFLAGS= -m32 -D_FILE_OFFSET_BITS=64 +CFLAGS = -g -pipe -Wall -W -O2 -Wno-unused -DHAVE_CONFIG_H $(ARCHFLAGS) CXXFLAGS = -g -pipe -Wall -W -O2 -DHAVE_CONFIG_H $(ARCHFLAGS) LEXFLAGS = YACCFLAGS= -d Index: src/comskip/AC3Dec/downmix.c =================================================================== --- src/comskip/AC3Dec/downmix.c (revision 64) +++ src/comskip/AC3Dec/downmix.c (working copy) @@ -27,9 +27,10 @@ static double DRCScale[4] = { 1.0, 1.5, 2.0, 4.0 }; static double ds_x1, ds_x2, ds_y1, ds_y2; -#ifdef __POWERPC__ +//#ifdef __POWERPC__ #define SaturateRound(x) (x < -32768) ? -32768 : ((x > 32767) ? 32767 : ((short)x)); -#else +//#else +#if 0 __forceinline short SaturateRound(double flt) { int tmp; Index: src/comskip/mpeg2dec.c =================================================================== --- src/comskip/mpeg2dec.c (revision 64) +++ src/comskip/mpeg2dec.c (working copy) @@ -103,8 +103,8 @@ #define FTELL _ftelli64 // The following two functions are undocumented and not included in any public header, // so we need to declare them ourselves -extern int _fseeki64(FILE *, __int64, int); -extern __int64 _ftelli64(FILE *); +//extern int _fseeki64(FILE *, __int64, int); +//extern __int64 _ftelli64(FILE *); int soft_seeking=0; extern char basename[]; @@ -144,8 +144,10 @@ extern int frame_count; int framenum; -fpos_t filepos; -fpos_t fileendpos; +//fpos_t filepos; +__int64 filepos; +//fpos_t fileendpos; +__int64 fileendpos; extern int standoff; __int64 goppos,infopos,packpos,ptspos,headerpos,frompos,SeekPos;