summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1sys
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2003-05-21 18:16:30 +0000
committerBrian Cameron <brian.cameron@sun.com>2003-05-21 18:16:30 +0000
commit4c3c8f6f108d324168058af3100d013497184956 (patch)
tree7c06fc306c4fd97efea17de75bbb0e4b494e5753 /gst/mpeg1sys
parenta62ca0048edd89cff24bc4550b456cf875bc5439 (diff)
downloadgst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.tar.gz
gst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.tar.bz2
gst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.zip
Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly in...
Original commit message from CVS: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly involved supporting ISO style variable-argument macros.
Diffstat (limited to 'gst/mpeg1sys')
-rw-r--r--gst/mpeg1sys/buffer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/mpeg1sys/buffer.c b/gst/mpeg1sys/buffer.c
index 6554f03f..677c398b 100644
--- a/gst/mpeg1sys/buffer.c
+++ b/gst/mpeg1sys/buffer.c
@@ -34,8 +34,16 @@
#define CLOCKS 90000.0
+#ifdef G_HAVE_ISO_VARARGS
+
+#define DEBUG(...) g_print (__VA_ARGS__)
+
+#elif defined(G_HAVE_GNUC_VARARGS)
+
#define DEBUG(a, b...) g_print (##b)
+#endif
+
/* This must match decoder and encoder tables */
static double picture_rates [16] =
{