tests: fix for build with avformat
tests: fixes for build with avformat