From de6b18ea846076710d18fe5025235b64f238ca09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 27 Dec 2011 22:54:34 +0000 Subject: [PATCH] lame: fix printf format in debug statements https://bugzilla.gnome.org/show_bug.cgi?id=666926 --- ext/lame/gstlame.c | 2 +- ext/lame/gstlamemp3enc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index 5387a77c59..9ce689d3f0 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -1119,7 +1119,7 @@ gst_lame_finish_frames (GstLame * lame) if (G_UNLIKELY (layer != 3 || rate != lame->out_samplerate)) { GST_DEBUG_OBJECT (lame, - "unexpected mp3 header with (rate, layer): (%u, %u)", + "unexpected mp3 header with rate %u, version %u, layer %u", rate, version, layer); goto invalid_header; } diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 5ea9f17f73..c8cd3e6cac 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -664,7 +664,7 @@ gst_lamemp3enc_finish_frames (GstLameMP3Enc * lame) if (G_UNLIKELY (layer != 3 || rate != lame->out_samplerate)) { GST_DEBUG_OBJECT (lame, - "unexpected mp3 header with (rate, layer): (%u, %u)", + "unexpected mp3 header with rate %u, version %u, layer %u", rate, version, layer); goto invalid_header; }