summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-12-19 03:47:48 +0000
committerDavid Schleef <ds@schleef.org>2004-12-19 03:47:48 +0000
commit231c16577ee6605d7c1f12221b7f58027f0feab5 (patch)
treeb6db8d61c22b1222420c5a6a6556d20131ff1de0
parenta03f20210e536e791bf95179cacc6308a60c5701 (diff)
downloadgst-plugins-bad-231c16577ee6605d7c1f12221b7f58027f0feab5.tar.gz
gst-plugins-bad-231c16577ee6605d7c1f12221b7f58027f0feab5.tar.bz2
gst-plugins-bad-231c16577ee6605d7c1f12221b7f58027f0feab5.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--gst/tta/ttadec.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ef93c0b7..4eab044a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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),
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_layout),
diff --git a/gst/tta/ttadec.h b/gst/tta/ttadec.h
index 7a4a8a25..a49ba653 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;