MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / decsubInit

Function decsubInit

libhb/decavsub.c:168–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static 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
188static void make_empty_pgs( hb_buffer_t * buf )
189{

Callers

nothing calls this directly

Calls 1

decavsubInitFunction · 0.85

Tested by

no test coverage detected