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.
This commit is contained in:
Craig Keogh 2008-08-31 08:32:45 +00:00 committed by Sebastian Dröge
parent 5c4b6ce079
commit 467b9f2861
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2008-08-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
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.
2008-08-30 Tim-Philipp Müller <tim.muller at collabora co uk>
* ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create):

View file

@ -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;
}