Re: [FFmpeg-devel] [PATCH] avutil/frame: check return value for cropping offsets

2025-01-28 Thread Leo Izen
On 1/21/25 7:34 AM, Leo Izen wrote: This function can return AVERROR_BUG in theory if something went wrong, but so can the caller, so we should propagate that error message upward in that case. Signed-off-by: Leo Izen --- libavutil/frame.c | 9 +++-- 1 file changed, 7 insertions(+), 2 de

[FFmpeg-devel] [PATCH] avutil/frame: check return value for cropping offsets

2025-01-21 Thread Leo Izen
This function can return AVERROR_BUG in theory if something went wrong, but so can the caller, so we should propagate that error message upward in that case. Signed-off-by: Leo Izen --- libavutil/frame.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavutil/frame