summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/gstplay/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c
index 8aabe69d..32001a90 100644
--- a/examples/gstplay/player.c
+++ b/examples/gstplay/player.c
@@ -100,7 +100,7 @@ main (int argc, char *argv[])
{
GstPlay *play;
GstElement *data_src, *video_sink, *audio_sink, *vis_element;
- GError *error;
+ GError *error = NULL;
/* Initing GStreamer library */
gst_init (&argc, &argv);