summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gstsbcutil.c')
-rw-r--r--audio/gstsbcutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/gstsbcutil.c b/audio/gstsbcutil.c
index ec7a52d3..94da2ad0 100644
--- a/audio/gstsbcutil.c
+++ b/audio/gstsbcutil.c
@@ -95,9 +95,9 @@ const gchar *gst_sbc_get_mode_from_list(const GValue *list, gint channels)
const GValue *value;
const gchar *aux;
gboolean joint, stereo, dual, mono;
+ guint size = gst_value_list_get_size(list);
joint = stereo = dual = mono = FALSE;
- guint size = gst_value_list_get_size(list);
for (i = 0; i < size; i++) {
value = gst_value_list_get_value(list, i);