From 8f3471999e929bb99116fac52b94d572c42ba15e Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 29 Sep 2021 22:52:15 +0200 Subject: Squashed 'ogg/' content from commit 4380566a4 git-subtree-dir: ogg git-subtree-split: 4380566a44b8d5e85ad511c9c17eb04197863ec5 --- doc/libogg/ogg_sync_check.html | 71 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 doc/libogg/ogg_sync_check.html (limited to 'doc/libogg/ogg_sync_check.html') diff --git a/doc/libogg/ogg_sync_check.html b/doc/libogg/ogg_sync_check.html new file mode 100644 index 0000000..daac330 --- /dev/null +++ b/doc/libogg/ogg_sync_check.html @@ -0,0 +1,71 @@ + + + +libogg - function - ogg_sync_check + + + + + + + + + +

libogg documentation

libogg release 1.3.2 - 20140527

+ +

ogg_sync_check

+ +

declared in "ogg/ogg.h";

+ +

This function is used to check the error or readiness condition of an ogg_sync_state structure. +

It is safe practice to ignore unrecoverable errors (such as an internal error caused by a malloc() failure) returned by ogg stream synchronization calls. Should an +internal error occur, the ogg_sync_state structure will be cleared (equivalent to a +call to +ogg_sync_clear) and subsequent calls +using this ogg_sync_state will be +noops. Error detection is then handled via a single call to +ogg_sync_check at the end of the operational block.

+ +

+ + + + +
+

+int ogg_sync_check(ogg_sync_state *oy);
+
+
+ +

Parameters

+
+
oy
+
Pointer to a previously declared ogg_sync_state struct.
+
+ + +

Return Values

+
+
  • +0 is returned if the ogg_sync_state structure is initialized and ready.
  • +
  • +nonzero is returned if the structure was never initialized, or if an unrecoverable internal error occurred in a previous call using the passed in ogg_sync_state struct.
  • +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2000-2014 Xiph.Org

    Ogg Container Format

    libogg documentation

    libogg release 1.3.2 - 20140527

    + + + + + -- cgit v1.1