[FFmpeg-devel] [PATCH] avcodec/pngdec: avoid hard failure on illegal sBIT chunks
Leo Izen
leo.izen at gmail.com
Sun Feb 9 07:07:45 EET 2025
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 <leo.izen at gmail.com>
> ---
> libavcodec/pngdec.c | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
Will apply soon if no other comments.
- Leo Izen (Traneptora)
More information about the ffmpeg-devel
mailing list