]> granicus.if.org Git - libass/commitdiff
ass: declare mixing ass_flush_events() and ass_process_chunk() allowed
authorwm4 <wm4@nowhere>
Thu, 31 Dec 2015 15:28:00 +0000 (16:28 +0100)
committerwm4 <wm4@nowhere>
Thu, 31 Dec 2015 16:26:32 +0000 (17:26 +0100)
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.

libass/ass.h

index d3bf60697a2e46b97260b2b383857a7a8d781aad..c2802f7683dacf414dfb97eaf67713e1cc84cc26 100644 (file)
@@ -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