ffmpeg | branch: master | Tobias Rapp <t.r...@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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to