template.c: explain sample data length subtraction

This commit is contained in:
Intel A80486DX2-66 2024-05-19 12:10:31 +03:00
parent 110b065459
commit 4b8211dd1a
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
1 changed files with 4 additions and 1 deletions

View File

@ -185,7 +185,10 @@ main(void)
5 * 4 /* 4 uint32_t values */ +
4 * 2 /* 5 uint16_t values */ +
PRODUCT /* sample data */
- 8,
/* subtract Subchunk2 headers: */
- 4 /* a 4-character string */
- 4 /* a uint32_t value */,
fmt_data_length = 16 /* <--
* length of format data before this value
* in the file format structure