Fix ffmpeg protocol check