Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: fix pixel buffer memory leak

2021-11-09 Thread Rick Kern
On Tue, Nov 9, 2021 at 5:57 AM Steven Liu wrote: > <13102179...@163.com> 于2021年11月9日周二 下午6:52写道: > > > > From: songyutong > > > > In function vtenc_populate_extradata(), there is a manually created > > pixel buffer that has not been released. So we should use > CVPixelBufferRelease > > to releas

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: fix pixel buffer memory leak

2021-11-09 Thread Steven Liu
<13102179...@163.com> 于2021年11月9日周二 下午6:52写道: > > From: songyutong > > In function vtenc_populate_extradata(), there is a manually created > pixel buffer that has not been released. So we should use CVPixelBufferRelease > to release this pixel buffer at the end, otherwise will cause a memory leak.

[FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: fix pixel buffer memory leak

2021-11-09 Thread YuTong Song
From: songyutong In function vtenc_populate_extradata(), there is a manually created pixel buffer that has not been released. So we should use CVPixelBufferRelease to release this pixel buffer at the end, otherwise will cause a memory leak. --- libavcodec/videotoolboxenc.c | 1 + 1 file changed,

[FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc: fix pixel buffer memory leak

2021-11-09 Thread 13102179620
From: songyutong In function vtenc_populate_extradata(), there is a manually created pixel buffer that has not been released. So we should use CVPixelBufferRelease to release this pixel buffer at the end, otherwise will cause a memory leak. --- libavcodec/videotoolboxenc.c | 1 + 1 file changed,