aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpjpeg.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-06-12 09:22:56 -0400
committerLeo Izen <leo.izen@gmail.com>2023-06-18 10:31:05 -0400
commit61047f0f82c76620cc42888958dd9834bcaa18fb (patch)
tree171e1774ff7618a9fef8d4b75960558b294a34cb /libavformat/mpjpeg.c
parent6f2cf88771bd8c3986b0c8b6404eabc5b37d8a6e (diff)
downloadffmpeg-61047f0f82c76620cc42888958dd9834bcaa18fb.tar.gz
avformat/jpegxl_anim_dec: avoid overrun with jxlp boxes in container
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.izen@gmail.com>
Diffstat (limited to 'libavformat/mpjpeg.c')
0 files changed, 0 insertions, 0 deletions