summaryrefslogtreecommitdiff
path: root/apps/codecs/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/wav.c')
-rw-r--r--apps/codecs/wav.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c
index 1f210a99bf..774cfaf8ef 100644
--- a/apps/codecs/wav.c
+++ b/apps/codecs/wav.c
@@ -174,8 +174,8 @@ next_track:
174 /* this is not a fatal error with some formats, 174 /* this is not a fatal error with some formats,
175 * we'll see later if we can't decode it */ 175 * we'll see later if we can't decode it */
176 DEBUGF("CODEC_WARNING: non-PCM WAVE (formattag=0x%x) " 176 DEBUGF("CODEC_WARNING: non-PCM WAVE (formattag=0x%x) "
177 "doesn't have ext. fmt descr (chunksize=%ld<18).\n", 177 "doesn't have ext. fmt descr (chunksize=%d<18).\n",
178 format.formattag, (long)i); 178 (unsigned int)format.formattag, i);
179 } 179 }
180 else 180 else
181 { 181 {
@@ -202,7 +202,8 @@ next_track:
202 codec = get_wave_codec(format.formattag); 202 codec = get_wave_codec(format.formattag);
203 if (!codec) 203 if (!codec)
204 { 204 {
205 DEBUGF("CODEC_ERROR: unsupport wave format %x\n", format.formattag); 205 DEBUGF("CODEC_ERROR: unsupported wave format %x\n",
206 (unsigned int) format.formattag);
206 status = CODEC_ERROR; 207 status = CODEC_ERROR;
207 goto done; 208 goto done;
208 } 209 }