diff --git a/ChangeLog b/ChangeLog index ef93c0b7fe..4eab044a2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-18 David Schleef + + * gst/tta/ttadec.h: Disable some header code that isn't used + and clearly isn't portable. + 2004-12-18 David Schleef * gst/ffmpegcolorspace/imgconvert.c: (get_pix_fmt_info), diff --git a/gst/tta/ttadec.h b/gst/tta/ttadec.h index 7a4a8a2557..a49ba6535e 100644 --- a/gst/tta/ttadec.h +++ b/gst/tta/ttadec.h @@ -105,6 +105,8 @@ typedef unsigned char byte; #define PREDICTOR1(x, k) ((long)((((uint64)x << k) - x) >> k)) #define DEC(x) (((x)&1)?(++(x)>>1):(-(x)>>1)) +#if 0 +/* This doesn't compile on non-gcc compilers */ typedef struct { unsigned long TTAid; unsigned short AudioFormat; @@ -114,6 +116,7 @@ typedef struct { unsigned long DataLength; unsigned long CRC32; } __ATTRIBUTE_PACKED__ tta_hdr; +#endif typedef struct { unsigned long k0;