Re: [FFmpeg-devel] [PATCH 1/5] avcodec/decode: Check for more invalid channel counts

2022-09-16 Thread James Almer
On 9/15/2022 10:16 PM, James Almer wrote: On 9/15/2022 10:10 PM, Andreas Rheinhardt wrote: Signed-off-by: Andreas Rheinhardt --- Maybe use av_channel_layout_check?   libavcodec/decode.c | 2 +-   1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/decode.c b/libavcodec/decode

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/decode: Check for more invalid channel counts

2022-09-15 Thread James Almer
On 9/15/2022 10:10 PM, Andreas Rheinhardt wrote: Signed-off-by: Andreas Rheinhardt --- Maybe use av_channel_layout_check? libavcodec/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 2961705c9d..e24005cc44 100644 ---

[FFmpeg-devel] [PATCH 1/5] avcodec/decode: Check for more invalid channel counts

2022-09-15 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Maybe use av_channel_layout_check? libavcodec/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 2961705c9d..e24005cc44 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -1