summaryrefslogtreecommitdiffstats
path: root/ext/metadata/metadataxmp.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-07-08 13:28:51 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-07-08 13:28:51 +0000
commit58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a (patch)
treeea7dafaa2e89e4befea8978e64d080f60677f3a4 /ext/metadata/metadataxmp.c
parent229f3b295a58926a24be1874c0cdefefc182d920 (diff)
downloadgst-plugins-bad-58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a.tar.gz
gst-plugins-bad-58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a.tar.bz2
gst-plugins-bad-58bc2cae2eef58f1b0e3d02a6a1c9d1efbf1f82a.zip
ext/: Don't use declarations after statements.
Original commit message from CVS: Patch by: Jonathan Rosser <jonathan dot rosser at rd dot bbc dot co dot uk> * ext/metadata/metadataexif.c: (metadataparse_handle_unit_tags): * ext/metadata/metadataxmp.c: (metadataparse_xmp_iter_add_to_tag_list): * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_start): * ext/timidity/gstwildmidi.c: (gst_wildmidi_loop): Don't use declarations after statements.
Diffstat (limited to 'ext/metadata/metadataxmp.c')
-rw-r--r--ext/metadata/metadataxmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/metadata/metadataxmp.c b/ext/metadata/metadataxmp.c
index 7291c84d..2aa386eb 100644
--- a/ext/metadata/metadataxmp.c
+++ b/ext/metadata/metadataxmp.c
@@ -756,7 +756,7 @@ metadataparse_xmp_iter_add_to_tag_list (GstTagList * taglist,
GstTagMergeMode mode, const char *path, const char *value,
const SchemaMap * schema_map, const uint32_t opt)
{
-
+ GType type;
const SchemaTagMap *smaptag =
metadataparse_xmp_get_tagsmap_from_path (schema_map, path, opt);
@@ -766,7 +766,7 @@ metadataparse_xmp_iter_add_to_tag_list (GstTagList * taglist,
if (NULL == smaptag->gst_tag)
goto done;
- GType type = gst_tag_get_type (smaptag->gst_tag);
+ type = gst_tag_get_type (smaptag->gst_tag);
switch (type) {
case G_TYPE_STRING: