FFmpeg: replace findAndOpenAVDecoder with findAndScoreCodecs


`findAndOpenAVDecoder` is a bit of an inconvenient API:
* it relies on side effects of the "opener" function to propagate the
result to the caller
* it is hard to add temporary tracing when trying to follow the
application logic.

so we remove `findAndOpenCodec` completely, but replace it with
`findAndScoreCodecs` to provide a list of scored codecs to the caller.
This can then be used on the caller side without having to rely on side
effects to store the result, leading to a control flow which is much
easier to reason about, as the opener is a simple loop with that we can
easily break from.

Pick-to: 6.12
Change-Id: I30dcc85327d57ffb1be7e0845b3f22fcf0b6e886
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit6e260606c5bc7cb256a8e1309c358b8e97983b07
parentab66681c8a192266c98e9a20834c9bb4fdf3e888
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 11 Aug 2026 06:38:18 +0000