diff options
author | James Almer <jamrial@gmail.com> | 2025-06-04 14:02:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2025-06-22 10:30:03 -0300 |
commit | f789d60e115e3e2ef48d36c5fa43686a6cf3f9c8 (patch) | |
tree | 0c960fad959f308424090f59bb4341df02ff337b /libavcodec/lpc_functions.h | |
parent | dbe94e1110090fbfd0a105c847298d8e3fbc92f1 (diff) | |
download | ffmpeg-f789d60e115e3e2ef48d36c5fa43686a6cf3f9c8.tar.gz |
avformat/mov: add more sanity checks when reading clap boxes
If the apperture window is bigger than the canvas, then the clap box is invalid
and there's no point calculating cropping values.
Fixes: libavformat/mov.c:1295:14: runtime error: -256 is outside the range of representable values of type 'unsigned long'
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/lpc_functions.h')
0 files changed, 0 insertions, 0 deletions