From 35f6ce964d23bddd18e510135643042213f34b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 20 May 2016 19:15:11 +0200 Subject: [PATCH] vaapipluginbase: code-style: rename goto label The error labels have error_ prefix, but this one. --- gst/vaapi/gstvaapipluginbase.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c index 9a9d08b50f..45e9a3d321 100644 --- a/gst/vaapi/gstvaapipluginbase.c +++ b/gst/vaapi/gstvaapipluginbase.c @@ -732,7 +732,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin, gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META); if (!gst_buffer_pool_set_config (pool, config)) - goto config_failed; + goto error_config_failed; } config = gst_buffer_pool_get_config (pool); @@ -755,7 +755,7 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin, #endif if (!gst_buffer_pool_set_config (pool, config)) - goto config_failed; + goto error_config_failed; if (update_pool) gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max); @@ -783,7 +783,7 @@ error_create_pool: GST_ERROR_OBJECT (plugin, "failed to create buffer pool"); return FALSE; } -config_failed: +error_config_failed: { if (pool) gst_object_unref (pool);