Re: [FFmpeg-devel] [PATCH] avdevice/lavfi: Fix double-free on error

2023-09-30 Thread Timo Rothenpieler
On 29.09.2023 19:28, Andreas Rheinhardt wrote: After the AVFrame has been wrapped into a buffer, it is owned by the buffer and must not be freed manually any more. Yet this happens on subsequent errors. This bug was introduced in 6ca43a9675d651d7ea47c7ba2fafb1bf831c4d0b. Signed-off-by: Andreas

[FFmpeg-devel] [PATCH] avdevice/lavfi: Fix double-free on error

2023-09-29 Thread Andreas Rheinhardt
After the AVFrame has been wrapped into a buffer, it is owned by the buffer and must not be freed manually any more. Yet this happens on subsequent errors. This bug was introduced in 6ca43a9675d651d7ea47c7ba2fafb1bf831c4d0b. Signed-off-by: Andreas Rheinhardt --- libavdevice/lavfi.c | 9