[FFmpeg-cvslog] tests/audiogen: Fix total RIFF chunk size
Tobias Rapp
git at videolan.org
Thu Mar 28 12:55:55 EET 2024
ffmpeg | branch: master | Tobias Rapp <t.rapp at noa-archive.com> | Fri Mar 15 09:32:28 2024 +0100| [94ebe604b00acc170afa228824cd04773eb786ce] | committer: Tobias Rapp
tests/audiogen: Fix total RIFF chunk size
The "RIFF" identifier and chunk size fields should not be included
within the size value.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94ebe604b00acc170afa228824cd04773eb786ce
---
tests/audiogen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the ffmpeg-cvslog
mailing list