gstreamer/subprojects/gst-libav/ext
Sebastian Dröge d871f34b39 libav: Update AVCodecContext lifetime to work properly with ffmpeg 7
avcodec_close() is deprecated and it's not supported anymore to re-open
a codec, so we only ever allocate the codec in set_format() now and
always free it after usage.

As part of this, also fix various memory leaks in related code paths.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7148>
2024-07-08 16:25:32 +00:00
..
libav libav: Update AVCodecContext lifetime to work properly with ffmpeg 7 2024-07-08 16:25:32 +00:00