check: Don't re-declare 'GList *buffers' in the tests
authorEdward Hervey <bilboed@bilboed.com>
Mon, 12 Apr 2010 16:07:29 +0000 (18:07 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:06 +0000 (18:07 +0100)
It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.

tests/check/elements/aacparse.c
tests/check/elements/amrparse.c

index 78662a2..d29e18c 100644 (file)
@@ -37,7 +37,6 @@
     "audio/mpeg, framed=(boolean)true, mpegversion=4, rate=96000, channels=2"
 #define SINK_CAPS_TMPL  "audio/mpeg, framed=(boolean)true, mpegversion=(int){2,4}"
 
-GList *buffers;
 GList *current_buf = NULL;
 
 GstPad *srcpad, *sinkpad;
index 4c6457d..2c0a2bb 100644 (file)
@@ -36,7 +36,6 @@
 
 #define AMR_FRAME_DURATION (GST_SECOND/50)
 
-GList *buffers;
 GList *current_buf = NULL;
 
 GstPad *srcpad, *sinkpad;