[FFmpeg-devel] [PATCH] avcodec/ffv1dec: don't add offsets to NULL pointers

Michael Niedermayer michael at niedermayer.cc
Tue Jul 15 01:17:18 EEST 2025


On Sun, Jul 13, 2025 at 07:57:18PM -0300, James Almer wrote:
> Fixes: libavcodec/ffv1dec.c:452:43: runtime error: applying zero offset to null pointer
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/ffv1dec.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 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/20250715/4fff8c72/attachment.sig>


More information about the ffmpeg-devel mailing list