| 166 | } |
| 167 | |
| 168 | static int decsubInit( hb_work_object_t * w, hb_job_t * job ) |
| 169 | { |
| 170 | hb_work_private_t * pv; |
| 171 | |
| 172 | pv = calloc( 1, sizeof( hb_work_private_t ) ); |
| 173 | if (pv == NULL) |
| 174 | { |
| 175 | return 1; |
| 176 | } |
| 177 | |
| 178 | pv->ctx = decavsubInit(w, job); |
| 179 | if (pv->ctx == NULL) |
| 180 | { |
| 181 | free(pv); |
| 182 | return 1; |
| 183 | } |
| 184 | w->private_data = pv; |
| 185 | return 0; |
| 186 | } |
| 187 | |
| 188 | static void make_empty_pgs( hb_buffer_t * buf ) |
| 189 | { |
nothing calls this directly
no test coverage detected