projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae0c70
)
sbc: Assign variables after declarations
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 23 Dec 2008 03:21:57 +0000
(
04:21
+0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Wed, 27 Mar 2013 22:21:16 +0000
(22:21 +0000)
ext/sbc/gstsbcutil.c
patch
|
blob
|
history
diff --git
a/ext/sbc/gstsbcutil.c
b/ext/sbc/gstsbcutil.c
index
292b7de
..
3d3f423
100644
(file)
--- a/
ext/sbc/gstsbcutil.c
+++ b/
ext/sbc/gstsbcutil.c
@@
-102,9
+102,9
@@
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);