[FFmpeg-devel] Patch for libx265 memory leak
Anton Khirnov
anton at khirnov.net
Sat Nov 16 07:18:08 EET 2024
Quoting Damiano Galassi (2024-11-12 07:36:53)
> On Tue, Nov 12, 2024 at 3:38 AM Zhao Zhili <quinkblack at foxmail.com> wrote:
>
> >
> > cleanup() release library static allocations, and I don’t see lock or
> > reference count
> > within x265_cleanup(). So call cleanup() will break other x265 encoder
> > instance,
> > right?
>
>
> x265 already crashes when trying to run two encodes with different settings
> in
> the same process, because it's storing some instance specific data in
> global variables
> that are overwritten when starting a new encode.
Seriously?
WTF
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list