mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
tests/audiogen: Fix total RIFF chunk size
The "RIFF" identifier and chunk size fields should not be included within the size value.
This commit is contained in:
parent
5d71f97e0e
commit
94ebe604b0
@ -109,7 +109,7 @@ static void put32(uint32_t v)
|
|||||||
fputc((v >> 24) & 0xff, outfile);
|
fputc((v >> 24) & 0xff, outfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HEADER_SIZE 46
|
#define HEADER_SIZE 38
|
||||||
#define FMT_SIZE 18
|
#define FMT_SIZE 18
|
||||||
#define SAMPLE_SIZE 2
|
#define SAMPLE_SIZE 2
|
||||||
#define WFORMAT_PCM 0x0001
|
#define WFORMAT_PCM 0x0001
|
||||||
|
Loading…
x
Reference in New Issue
Block a user