lavf: add a forgotten NULL check in convert_format_parameters().