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>
commitd36196adb515b12eb613d7ff6e13e96c3d8e4ecf
parentb1b84fdfb2da7138a2ba162c93ef12abb074cb0d
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 7 Sep 2026 14:42:56 +0000