Returns a pointer to the first character after the ASS preamble
| 289 | |
| 290 | // Returns a pointer to the first character after the ASS preamble |
| 291 | static 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 | |
| 308 | int decavsubWork( hb_decavsub_context_t * ctx, |
| 309 | hb_buffer_t ** buf_in, |