summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Torri <vtorri@univ-evry.fr>2007-04-17 10:14:43 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-04-17 10:14:43 +0000
commit188cc7a9e087ebff4d7e22d88b3cf2a26cd4b5ff (patch)
treed3a77e075cc64c6c6e4c3aaa7c4f682b7892e28f
parentc383f21c10ef090c4fab063d21593a482b2f9c3d (diff)
gst/wavparse/gstwavparse.c: Use correct format strings for integer types.
Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry dot fr> * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): Use correct format strings for integer types.
-rw-r--r--ChangeLog7
-rw-r--r--gst/wavparse/gstwavparse.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4529c8a3..a5a36f3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-04-17 Sebastian Dröge <slomo@circular-chaos.org>
+ Patch by: Vincent Torri <vtorri at univ-evry dot fr>
+
+ * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
+ Use correct format strings for integer types.
+
+2007-04-17 Sebastian Dröge <slomo@circular-chaos.org>
+
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_create_sourcepad):
Use gst_riff_create_audio_template_caps () instead of the local caps.
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index a1be072c..8c3590f4 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -1324,7 +1324,7 @@ invalid_blockalign:
invalid_bps:
{
GST_ELEMENT_ERROR (wav, STREAM, FAILED, (NULL),
- ("Stream claims av_bsp = %lu, which is more than %lu - invalid data",
+ ("Stream claims av_bsp = %u, which is more than %u - invalid data",
wav->av_bps, wav->blockalign * wav->rate));
g_free (codec_name);
return GST_FLOW_ERROR;