summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1sys
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-08-05 16:20:11 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-08-05 16:20:11 +0000
commite97efffb9fed2148c8332ffca17585a817974b10 (patch)
treeea9e9845c9005884e358b7b2e1901a01852d3b1d /gst/mpeg1sys
parentc1be464cad9811018b371de621424e992ec7aa88 (diff)
downloadgst-plugins-bad-e97efffb9fed2148c8332ffca17585a817974b10.tar.gz
gst-plugins-bad-e97efffb9fed2148c8332ffca17585a817974b10.tar.bz2
gst-plugins-bad-e97efffb9fed2148c8332ffca17585a817974b10.zip
fix for compilation when DEBUG is disabled
Original commit message from CVS: fix for compilation when DEBUG is disabled
Diffstat (limited to 'gst/mpeg1sys')
-rw-r--r--gst/mpeg1sys/buffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mpeg1sys/buffer.c b/gst/mpeg1sys/buffer.c
index 591d3ba5..badf674d 100644
--- a/gst/mpeg1sys/buffer.c
+++ b/gst/mpeg1sys/buffer.c
@@ -19,7 +19,6 @@
#include <string.h>
-/*#define DEBUG_ENABLED */
#include <gst/gst.h>
#include <gst/getbits/getbits.h>
@@ -58,13 +57,16 @@ static double picture_rates [16] =
0,
0
};
-/* deined but not used
+/* defined but not used
static double ratio [16] = { 0., 1., 0.6735, 0.7031, 0.7615, 0.8055,
0.8437, 0.8935, 0.9157, 0.9815, 1.0255, 1.0695, 1.0950, 1.1575,
1.2015, 0.};
*/
+
+#ifdef GST_DEBUG_ENABLED
static char picture_types [4][3] =
{ "I", "P", "B", "D" };
+#endif
static int bitrate_index[2][3][16] =
{ { {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, },