fixes for yyuv format

as explained my rather poor workflow meant I was testing and editing a separate checkout and the last pull request had serious errors in it