mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
wavparse: fix unportable printf format specifiers in commented out code
To avoid false positives when grepping for unportable specifiers.
This commit is contained in:
parent
ee4b378c77
commit
c66c3d354c
1 changed files with 5 additions and 4 deletions
|
@ -662,15 +662,16 @@ gst_wavparse_other (GstWavParse * wav)
|
|||
length = G_MAXUINT32;
|
||||
}
|
||||
if (file_length > G_MAXUINT32) {
|
||||
GST_DEBUG_OBJECT (wav, "file length %lld, clipping to 32 bits");
|
||||
GST_DEBUG_OBJECT (wav, "file length %" G_GUINT64_FORMAT
|
||||
", clipping to 32 bits", file_length);
|
||||
/* could not get length, assuming till eof */
|
||||
length = G_MAXUINT32;
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (wav, "file length %lld, datalength",
|
||||
file_length, length);
|
||||
GST_DEBUG_OBJECT (wav, "file length %" G_GUINT64_FORMAT
|
||||
", datalength %u", file_length, length);
|
||||
/* substract offset of datastart from length */
|
||||
length = file_length - wav->datastart;
|
||||
GST_DEBUG_OBJECT (wav, "datalength %lld", length);
|
||||
GST_DEBUG_OBJECT (wav, "datalength %u", length);
|
||||
}
|
||||
}
|
||||
wav->datasize = (guint64) length;
|
||||
|
|
Loading…
Reference in a new issue