[3.0] contrib: ffmpeg: fix a rare crash on some odd files with DVXA
There is a cleaner fix proposed but it may have wider impacts and needs to be checked on all platforms: https://www.mail-archive.com/ffmpeg-devel@ffmpeg.org/msg137976.html
This one should be safe for 3.0.18