summaryrefslogtreecommitdiffstats
path: root/ext/annodex
diff options
context:
space:
mode:
authorCraig Keogh <cskeogh@adam.com.au>2008-08-31 08:32:45 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-31 08:32:45 +0000
commit467b9f2861846accbc3cfbe726d163cf1be312a1 (patch)
tree3b54274f130cdbc33bf0f9c02f4c95cc0acb4b58 /ext/annodex
parent5c4b6ce07956e82fb5c1d59b3fb9323c178abd99 (diff)
ext/annodex/gstcmmlparser.c: Fix compiler warnings caused by passing a string as format string instead of "%s" and th...
Original commit message from CVS: Patch by: Craig Keogh <cskeogh at adam dot com dot au> * ext/annodex/gstcmmlparser.c: (gst_cmml_parser_parse_chunk): Fix compiler warnings caused by passing a string as format string instead of "%s" and then the string. This is only exposed by -Wformat=2 as used by default on Ubuntu. Fixes bug #550015.
Diffstat (limited to 'ext/annodex')
-rw-r--r--ext/annodex/gstcmmlparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/annodex/gstcmmlparser.c b/ext/annodex/gstcmmlparser.c
index abc79e76..221f9f91 100644
--- a/ext/annodex/gstcmmlparser.c
+++ b/ext/annodex/gstcmmlparser.c
@@ -112,7 +112,7 @@ gst_cmml_parser_parse_chunk (GstCmmlParser * parser,
GST_DEBUG ("Error occurred decoding chunk %s", data);
g_set_error (err,
- GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, xml_error->message);
+ GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_FAILED, "%s", xml_error->message);
return FALSE;
}