ffv1enc: propagate error code from write_extradata()