From: wm4 Date: Thu, 31 Dec 2015 15:28:00 +0000 (+0100) Subject: ass: declare mixing ass_flush_events() and ass_process_chunk() allowed X-Git-Tag: 0.13.2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59f858b22477a02f835b6464928f28e4aaf38baa;p=libass ass: declare mixing ass_flush_events() and ass_process_chunk() allowed This was always the intention, but the wording could be read as if this is not allowed. There was a bug that broke ass_flush_events() too, which gives all the more reason to clarify this. --- diff --git a/libass/ass.h b/libass/ass.h index d3bf606..c2802f7 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -565,7 +565,8 @@ void ass_process_codec_private(ASS_Track *track, char *data, int size); * In later libass versions (since LIBASS_VERSION==0x01300001), using this * function means you agree not to modify events manually, or using other * functions manipulating the event list like ass_process_data(). If you do - * anyway, the internal duplicate checking might break. + * anyway, the internal duplicate checking might break. Calling + * ass_flush_events() is still allowed. * \param track track * \param data string to parse * \param size length of data