tests/examples/seek/seek.c: Initialise error to NULL as we should.

Original commit message from CVS:
* tests/examples/seek/seek.c: (make_parselaunch_pipeline):
Initialise error to NULL as we should.
This commit is contained in:
Tim-Philipp Müller 2008-05-28 11:31:44 +00:00
parent 57c3aa9b66
commit b82c4cee0e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-05-28 Tim-Philipp Müller <tim.muller at collabora co uk>
* tests/examples/seek/seek.c: (make_parselaunch_pipeline):
Initialise error to NULL as we should.
2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
* gst/adder/gstadder.c: (gst_adder_query_duration),

View file

@ -904,7 +904,7 @@ static GstElement *
make_parselaunch_pipeline (const gchar * description)
{
GstElement *pipeline;
GError *error;
GError *error = NULL;
pipeline = gst_parse_launch (description, &error);