diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2024-03-15 09:32:28 +0100 |
---|---|---|
committer | Tobias Rapp <t.rapp@noa-archive.com> | 2024-03-28 11:54:41 +0100 |
commit | 94ebe604b00acc170afa228824cd04773eb786ce (patch) | |
tree | aedeb23acfdb6789abd11f0cbe8a61be722065f6 /tests | |
parent | 5d71f97e0e02740bf85c6de9c2855e5592bd053c (diff) | |
download | ffmpeg-94ebe604b00acc170afa228824cd04773eb786ce.tar.gz |
tests/audiogen: Fix total RIFF chunk size
The "RIFF" identifier and chunk size fields should not be included
within the size value.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/audiogen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/audiogen.c b/tests/audiogen.c index c43bb70ff9..df1dea6754 100644 --- a/tests/audiogen.c +++ b/tests/audiogen.c @@ -109,7 +109,7 @@ static void put32(uint32_t v) fputc((v >> 24) & 0xff, outfile); } -#define HEADER_SIZE 46 +#define HEADER_SIZE 38 #define FMT_SIZE 18 #define SAMPLE_SIZE 2 #define WFORMAT_PCM 0x0001 |