Commit 12710476 authored by Soohyun Lee's avatar Soohyun Lee Committed by GStreamer Marge Bot
Browse files

Fix error on the's sample code

    amp& was inserted in the g_clear_error(). It caused a compile error,
    so I removed it for making complie success.

Part-of: <gstreamer/gst-docs!85>
parent ea25788f
......@@ -1288,7 +1288,7 @@ main (int argc, char **argv)
g_option_context_add_group (ctx, gst_init_get_option_group ());
if (!g_option_context_parse (ctx, &argc, &argv, &err)) {
g_print ("Error initializing: %s\n", err->message);
g_clear_error (&amp;err);
g_clear_error (&err);
g_option_context_free (ctx);
return 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment