Re: [FFmpeg-devel] [PATCH 1/2] avformat/westwood_audenc: Check for, not assert on invalid data

2021-04-26 Thread Aidan Richmond
well as the new encoder both also assume they are handling 16bit samples. -- Aidan Richmond ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH v5 3/3] avcodec/adpcm: Fixes output from Westwood ADPCM.

2021-04-25 Thread Aidan Richmond
Fixes bug #9198 Signed-off-by: Aidan Richmond --- libavcodec/adpcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index be14607eac..5ec9691001 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1400,16 +1400,16

[FFmpeg-devel] [PATCH v5 2/3] avformat/westwoodaudenc: Adds muxer for Westwood AUD format.

2021-04-25 Thread Aidan Richmond
Format is still used by modders of these old games. Signed-off-by: Aidan Richmond --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/westwood_audenc.c | 141 ++ 3 files changed, 143 insertions(+) create mode

[FFmpeg-devel] [PATCH v5 1/3] avcodec/adpcmenc: Adds encoder for Westwood ADPCM.

2021-04-25 Thread Aidan Richmond
Signed-off-by: Aidan Richmond --- libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 32 ++-- libavcodec/allcodecs.c | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 4a597f727a..fcddde459d

[FFmpeg-devel] [PATCH v4 3/3] avcodec/adpcm: Fixes output from Westwood ADPCM.

2021-04-24 Thread Aidan Richmond
Fixes bug #9198 Signed-off-by: Aidan Richmond --- libavcodec/adpcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index be14607eac..5ec9691001 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1400,16 +1400,16

[FFmpeg-devel] [PATCH v4 2/3] avformat/westwoodaudenc: Adds muxer for Westwood AUD format.

2021-04-24 Thread Aidan Richmond
Format is still used by modders of these old games. Signed-off-by: Aidan Richmond --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/westwood_audenc.c | 145 ++ 3 files changed, 147 insertions(+) create mode

[FFmpeg-devel] [PATCH v4 1/3] avcodec/adpcmenc: Adds encoder for Westwood ADPCM.

2021-04-24 Thread Aidan Richmond
Signed-off-by: Aidan Richmond --- Apologies, I messed up a variable name in westwood_audenc.c in the v3 version of this patch series. libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 32 ++-- libavcodec/allcodecs.c | 1 + 3 files changed, 32 insertions(+), 2

[FFmpeg-devel] [PATCH v3 3/3] avcodec/adpcm: Fixes output from Westwood ADPCM.

2021-04-24 Thread Aidan Richmond
Fixes bug #9198 Signed-off-by: Aidan Richmond --- libavcodec/adpcm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index be14607eac..5ec9691001 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1400,16 +1400,16

[FFmpeg-devel] [PATCH v3 2/3] avformat/westwoodaudenc: Adds muxer for Westwood AUD format.

2021-04-24 Thread Aidan Richmond
Format is still used by modders of these old games. Signed-off-by: Aidan Richmond --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/westwood_audenc.c | 145 ++ 3 files changed, 147 insertions(+) create mode

[FFmpeg-devel] [PATCH v3 1/3] avcodec/adpcmenc: Adds encoder for Westwood ADPCM.

2021-04-24 Thread Aidan Richmond
Signed-off-by: Aidan Richmond --- libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 32 ++-- libavcodec/allcodecs.c | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 4a597f727a..fcddde459d

[FFmpeg-devel] [PATCH v2 2/2] avformat/westwoodaudenc: Adds muxer for Westwood AUD format.

2021-04-23 Thread Aidan Richmond
/westwood_audenc.c b/libavformat/westwood_audenc.c new file mode 100644 index 00..e381aa9a1a --- /dev/null +++ b/libavformat/westwood_audenc.c @@ -0,0 +1,129 @@ +/* + * Copyright (c) 2021 Aidan Richmond + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and

[FFmpeg-devel] [PATCH v2 1/2] avcodec/adpcmenc: Adds encoder for Westwood ADPCM.

2021-04-23 Thread Aidan Richmond
--- libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 32 ++-- libavcodec/allcodecs.c | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 4a597f727a..fcddde459d 100644 --- a/libavcodec/Makefile ++

[FFmpeg-devel] [PATCH 2/2] avformat/westwoodaudenc Adds muxer for Westwood AUD format.

2021-04-23 Thread Aidan Richmond
/westwood_audenc.c b/libavformat/westwood_audenc.c new file mode 100644 index 00..49310a47c8 --- /dev/null +++ b/libavformat/westwood_audenc.c @@ -0,0 +1,120 @@ +/* + * Copyright (c) 2021 Aidan Richmond + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and

[FFmpeg-devel] [PATCH 1/2] avcodec/adpcmenc Adds encoder for Westwood ADPCM.

2021-04-23 Thread Aidan Richmond
--- libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 32 ++-- libavcodec/allcodecs.c | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 4a597f727a..fcddde459d 100644 --- a/libavcodec/Makefile ++