[FFmpeg-devel] [PATCH] tests/audiogen: Fix total RIFF chunk size
Tobias Rapp
t.rapp at noa-archive.com
Tue Mar 26 14:33:02 EET 2024
On 15/03/2024 09:53, Tobias Rapp wrote:
> The "RIFF" identifier and chunk size fields should not be included
> within the size value.
> ---
> tests/audiogen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/audiogen.c b/tests/audiogen.c
> index c43bb70..df1dea6 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
Will apply in two days if there are no objections.
Regards, Tobias
More information about the ffmpeg-devel
mailing list