Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: avoid hard failure on illegal sBIT chunks

2025-02-08 Thread Leo Izen
On 2/3/25 10:22 PM, Leo Izen wrote: If a malformed chunk like sBIT appears but otherwise the stream is still parseable, we should print a warning and skip it rather than failing with an error. Signed-off-by: Leo Izen --- libavcodec/pngdec.c | 18 ++ 1 file changed, 10 inserti

[FFmpeg-devel] [PATCH] avcodec/pngdec: avoid hard failure on illegal sBIT chunks

2025-02-03 Thread Leo Izen
If a malformed chunk like sBIT appears but otherwise the stream is still parseable, we should print a warning and skip it rather than failing with an error. Signed-off-by: Leo Izen --- libavcodec/pngdec.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib