sbc: Assign variables after declarations

This commit is contained in:
Marcel Holtmann 2008-12-23 04:21:57 +01:00 committed by Tim-Philipp Müller
parent 7ae0c70682
commit 57f6f2655d

View file

@ -102,9 +102,9 @@ gst_sbc_get_mode_from_list (const GValue * list, gint channels)
const GValue *value; const GValue *value;
const gchar *aux; const gchar *aux;
gboolean joint, stereo, dual, mono; gboolean joint, stereo, dual, mono;
guint size = gst_value_list_get_size (list);
joint = stereo = dual = mono = FALSE; joint = stereo = dual = mono = FALSE;
guint size = gst_value_list_get_size (list);
for (i = 0; i < size; i++) { for (i = 0; i < size; i++) {
value = gst_value_list_get_value (list, i); value = gst_value_list_get_value (list, i);