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

Function ssa_text

libhb/decavsub.c:291–306  ·  view source on GitHub ↗

Returns a pointer to the first character after the ASS preamble

Source from the content-addressed store, hash-verified

289
290// Returns a pointer to the first character after the ASS preamble
291static const char * ssa_text(const char * ssa)
292{
293 int ii;
294 const char * text = ssa;
295
296 if (ssa == NULL)
297 return NULL;
298 for (ii = 0; ii < 8; ii++)
299 {
300 text = strchr(text, ',');
301 if (text == NULL)
302 break;
303 text++;
304 }
305 return text;
306}
307
308int decavsubWork( hb_decavsub_context_t * ctx,
309 hb_buffer_t ** buf_in,

Callers 1

decavsubWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected