gst/tta/ttadec.h: Disable some header code that isn't used and clearly isn't portable.

Original commit message from CVS:
* gst/tta/ttadec.h: Disable some header code that isn't used
and clearly isn't portable.
This commit is contained in:
David Schleef 2004-12-19 03:47:48 +00:00
parent a03f20210e
commit 231c16577e
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-12-18 David Schleef <ds@schleef.org>
* gst/tta/ttadec.h: Disable some header code that isn't used
and clearly isn't portable.
2004-12-18 David Schleef <ds@schleef.org>
* gst/ffmpegcolorspace/imgconvert.c: (get_pix_fmt_info),

View file

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