Skip to content

Commit ec64923

Browse files
author
Philip de Nier
committed
Improve bwav bext chunk warning messages
1 parent 28a657e commit ec64923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wave/WaveBEXT.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void WaveBEXT::SetOriginatorTimestamp(Timestamp timestamp)
128128
timestamp.min > 59 ||
129129
timestamp.sec > 59)
130130
{
131-
log_warn("Ignoring invalid originator timestamp\n");
131+
log_warn("Ignoring invalid bext chunk origination date/time timestamp\n");
132132
return;
133133
}
134134

@@ -307,7 +307,7 @@ void WaveBEXT::Read(WaveIO *input, uint32_t size)
307307
input->ReadString(&buffer[11], 8);
308308
buffer[19] = '\0';
309309
if (sscanf(buffer, "%u%*c%u%*c%u%*c%u%*c%u%*c%u", &year, &month, &day, &hour, &min, &sec) != 6) {
310-
log_warn("Failed to parse bext timestamp %s\n", buffer);
310+
log_warn("Failed to parse bext chunk's origination date + time value '%s'\n", buffer);
311311
} else {
312312
mOriginatorTimestamp.year = year;
313313
mOriginatorTimestamp.month = month;

0 commit comments

Comments
 (0)