magnify: check the image conversion worked
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 18 Jul 2024 07:23:58 +0000 (09:23 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)
commite54c7f613e1b34e8cd37ffbcc30f7d96e0262e2e
tree3c7328e34d0f2d222a3a99c2e383a081438f1a2a
parent2f72896cf2da52df04b907346e8454288dff4bb1
magnify: check the image conversion worked

return NULL on failure as we cannot produce the required output.

Fixes #28707

(cherry picked from commit 990de75bc0a7db5f2c4e4cb88e868b75b689ac7d) (rebased)
rebased:
- picture_CopyPixels is called picture_CopyVisiblePixels on 4.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0018-magnify-check-the-image-conversion-worked.patch
modules/video_filter/magnify.c