Files
FFmpeg/libavfilter
Niklas Haas 084e0b364d avfilter/vf_scale: fix frame lifetimes
scale_frame() inconsistently handled the lifetime of `in`. Fixes a
possible double free and a possible memory leak.

The new code always has `scale_frame` take over ownership of the input
frame. I first tried writing this code in a way where the calling code
retains ownership, but this is nontrivial due to the presence of the
no-op short-circuit condition in which the input frame is directly
returned. (As an alternative, we could use av_frame_clone() instead, but
I wanted to avoid touching the original behavior in this commit)
2024-07-10 11:38:44 +02:00
..
2023-11-18 19:55:42 +01:00
2024-07-07 23:36:29 +02:00
2024-07-07 23:36:29 +02:00
2023-11-16 20:53:18 +02:00
2024-07-01 22:31:02 +02:00
2024-07-01 22:31:02 +02:00
2024-07-01 22:31:02 +02:00
2024-07-01 22:31:02 +02:00
2024-03-29 09:09:40 +01:00
2024-02-16 21:34:38 +01:00
2024-04-18 14:43:07 +08:00
2024-01-01 20:12:52 +01:00
2024-07-05 18:06:14 +08:00