FFmpeg: convert iterators to stl-style ranges


Unifies code from different places and allows us to have a higher-level
API than accessing the c APIs directly.

Pick-to: 6.12
Change-Id: Ieff5ee2b1781525ff32b36f02ace02aae44f8307
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit75e85d553a43f8e7f96c71d379c7b635b369418e
parent049c8680a318ddf33f0bebe481e98fe93f9558b0
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 11 Aug 2026 04:58:15 +0000