FFmpeg: texture converters - improve factories


The factory functions should not return objects that aren't usable,
instead it's cleaner to just return a nullptr.

Pick-to: 6.12
Change-Id: I5fcc4a1469ff30317c24b6cad53c16080f99b021
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit8a4cdbcb14864b13941ef02120b65bdc190edf5c
parentae022967022fd8f3d52ca9ae65ca4c8d3a5f0132
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 19 Oct 2026 04:06:03 +0000