Merge pull request #9721 from linkmauve/fix-warnings Fix some warnings found with gcc 11 and ffmpeg master