check: Don't re-declare 'GList *buffers' in the tests

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.
This commit is contained in:
Edward Hervey 2010-04-12 18:07:29 +02:00
parent 1c74f22264
commit 14482a6580
2 changed files with 0 additions and 2 deletions

View file

@ -37,7 +37,6 @@
"audio/mpeg, framed=(boolean)true, mpegversion=4, rate=96000, channels=2" "audio/mpeg, framed=(boolean)true, mpegversion=4, rate=96000, channels=2"
#define SINK_CAPS_TMPL "audio/mpeg, framed=(boolean)true, mpegversion=(int){2,4}" #define SINK_CAPS_TMPL "audio/mpeg, framed=(boolean)true, mpegversion=(int){2,4}"
GList *buffers;
GList *current_buf = NULL; GList *current_buf = NULL;
GstPad *srcpad, *sinkpad; GstPad *srcpad, *sinkpad;

View file

@ -36,7 +36,6 @@
#define AMR_FRAME_DURATION (GST_SECOND/50) #define AMR_FRAME_DURATION (GST_SECOND/50)
GList *buffers;
GList *current_buf = NULL; GList *current_buf = NULL;
GstPad *srcpad, *sinkpad; GstPad *srcpad, *sinkpad;