wavlike: Find a use for unused bytes total

This commit is contained in:
Arthur Taylor 2022-12-12 14:34:38 -08:00
parent 043c9d8a8b
commit e79da07a0a

View File

@ -902,6 +902,9 @@ wavlike_read_cart_chunk (SF_PRIVATE *psf, uint32_t chunksize)
bytes += psf_binheader_readf (psf, "b", c->tag_text, make_size_t (c->tag_text_size)) ;
} ;
if (bytes < chunksize)
psf_log_printf (psf, " %d trailing bytes in cart chunk.\n", chunksize - bytes) ;
return 0 ;
} /* wavlike_read_cart_chunk */