document how to free the result of av_alloc_format_context()