On 6/12/23 09:22, Leo Izen wrote:
This switches the jpegxl_collect_codestream_header function to use
avcodec/bytestream2, which better enforces barriers, and should avoid
overrunning buffers with jxlp boxes if the size is zero or if the size
is so small the box is invalid.

Signed-off-by: Leo Izen <leo.i...@gmail.com>
---
  libavformat/jpegxl_anim_dec.c | 56 +++++++++++++++++++----------------
  1 file changed, 30 insertions(+), 26 deletions(-)

Will push soon if there's no objections, as this fixes a bug.

- Leo Izen

_______________________________________________
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".

Reply via email to