[FFmpeg-devel] [PATCH] avfilter/framesync: fix OOM case

Nicolas George george at nsup.org
Wed Nov 29 19:50:38 EET 2023


Paul B Mahol (12023-11-27):
> Attached.

> From 8ce6bd0090666ef94b0455b7f8f4d3c05e273093 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Mon, 27 Nov 2023 13:04:16 +0100
> Subject: [PATCH] avfilter/framesync: fix OOM case
> 
> Fixes OOM when caller keeps adding frames into filtergraph
> that reached EOF by other means, for example EOF is signalled
> by other filter in filtergraph or by buffersink.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/framesync.c | 3 +++
>  1 file changed, 3 insertions(+)

LGTM, good catch.

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231129/32c4c222/attachment.sig>


More information about the ffmpeg-devel mailing list