diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-06-08 12:10:36 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-06-08 12:19:22 +0300 |
commit | c5f85a1cdae6eb1d054656288ee18946a04b9a17 (patch) | |
tree | ebc25c1b5ead74a7fab7a40946b9623341e522bd | |
parent | ad619a4e845464a355d3b8cd9231fd00c72cb81f (diff) |
caps: use a safer name for temporary var. to not shadow one from outer scope
-rw-r--r-- | gst/gstcaps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstcaps.c b/gst/gstcaps.c index f2c4dabe99..433c929149 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -109,9 +109,9 @@ ((GstStructure *)g_ptr_array_index ((caps)->structs, (index))) /* quick way to append a structure without checking the args */ #define gst_caps_append_structure_unchecked(caps, structure) G_STMT_START{\ - GstStructure *s=structure; \ - gst_structure_set_parent_refcount (s, &caps->refcount); \ - g_ptr_array_add (caps->structs, s); \ + GstStructure *__s=structure; \ + gst_structure_set_parent_refcount (__s, &caps->refcount); \ + g_ptr_array_add (caps->structs, __s); \ }G_STMT_END /* lock to protect multiple invocations of static caps to caps conversion */ |