FFmpeg: Introduce AVDemuxerContextUPtr and AVMuxerContextUPtr
The AVFormatContext used in the demuxer is freed with
avformat_close_input, the one in the muxer with avformat_free_context.
Reflecting this by using two differently named smart pointers.
Pick-to: 6.12
Change-Id: Id7c7b2511f79a7500034de8ea1cf6c6eaf7aff98
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | d36196adb515b12eb613d7ff6e13e96c3d8e4ecf |
| parent | b1b84fdfb2da7138a2ba162c93ef12abb074cb0d |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Mon, 7 Sep 2026 14:42:56 +0000 |
- M src/plugins/multimedia/ffmpeg/playbackengine/qffmpegmediadataholder.cpp
- M src/plugins/multimedia/ffmpeg/playbackengine/qffmpegmediadataholder_p.h
- M src/plugins/multimedia/ffmpeg/qffmpeg_p.h
- M src/plugins/multimedia/ffmpeg/qffmpegencodingformatcontext.cpp
- M src/plugins/multimedia/ffmpeg/qffmpegencodingformatcontext_p.h