From 740291cf2ae7f360b4ab119746da9ac2ef6611e4 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 13 Jul 2026 12:40:00 +0000 Subject: Import xiph/ogg @ 36f969bb37559345ee03796ed625a9abd42c6db9 Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/xiph/ogg (36f969bb37559345ee03796ed625a9abd42c6db9). --- 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..1478a12 --- /dev/null +++ b/doc/libogg/ogg_sync_check.html @@ -0,0 +1,71 @@ + + + +libogg - function - ogg_sync_check + + + + + + + + + +

libogg documentation

libogg release 1.3.4 - 20190830

+ +

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-2019 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.4 - 20190830

    + + + + + -- cgit v1.2.3