avformat: do not require a pixel/sample format if there is no decoder