[FFmpeg-devel] [PATCH v7 02/12] swscale/internal: use static_assert for enforcing offsets

Michael Niedermayer michael at niedermayer.cc
Wed Nov 20 21:12:10 EET 2024


On Sat, Nov 16, 2024 at 12:24:57PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> Instead of sprinkling av_assert0 into random init functions.
> 
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Niklas Haas <git at haasn.dev>
> ---
>  libswscale/swscale_internal.h | 11 +++++++++++
>  libswscale/utils.c            |  2 --
>  libswscale/x86/swscale.c      |  4 ----
>  3 files changed, 11 insertions(+), 6 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241120/ba217af9/attachment.sig>


More information about the ffmpeg-devel mailing list