mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
wavlike: Find a use for unused bytes total
This commit is contained in:
parent
043c9d8a8b
commit
e79da07a0a
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user