Commit 81157e51 authored by Committed by Sebastian DrögeBrowse files
ttmlparse: Replace repeated warning code with a function.
Encapsulates in a function the code that warns of an illegally positioned element, rather than repeating the same code multiple times. Also frees a string allocated by ttml_get_element_type_string, which was previously being leaked. https://bugzilla.gnome.org/show_bug.cgi?id=781725
Showing with 14 additions and 12 deletions