summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:21:57 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:21:57 +0100
commit250964b29f8daa350fd17299c0848a181ba735f2 (patch)
tree0bb4e8894c2904f34960ce446dac3ff654208479 /audio
parentaad71061218b6e98740d6080a3065591e8cdc65a (diff)
Assign variables after declarations
Diffstat (limited to 'audio')
-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);