* Create a pristine job structure from a title * title_index is 1 based */
| 4942 | * title_index is 1 based |
| 4943 | */ |
| 4944 | hb_job_t * hb_job_init_by_index( hb_handle_t * h, int title_index ) |
| 4945 | { |
| 4946 | hb_title_t * title = hb_find_title_by_index(h, title_index); |
| 4947 | if (title == NULL) |
| 4948 | return NULL; |
| 4949 | return hb_job_init(title); |
| 4950 | } |
| 4951 | |
| 4952 | hb_job_t * hb_job_init( hb_title_t * title ) |
| 4953 | { |
no test coverage detected