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_buffer.html | 67 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 doc/libogg/ogg_sync_buffer.html (limited to 'doc/libogg/ogg_sync_buffer.html') diff --git a/doc/libogg/ogg_sync_buffer.html b/doc/libogg/ogg_sync_buffer.html new file mode 100644 index 0000000..34b3fd8 --- /dev/null +++ b/doc/libogg/ogg_sync_buffer.html @@ -0,0 +1,67 @@ + + + +libogg - function - ogg_sync_buffer + + + + + + + + + +

libogg documentation

libogg release 1.3.4 - 20190830

+ +

ogg_sync_buffer

+ +

declared in "ogg/ogg.h";

+ +

This function is used to provide a properly-sized buffer for writing. +

Buffer space which has already been returned is cleared, and the buffer is extended as necessary by the size plus some additional bytes. Within the current implementation, an extra 4096 bytes are allocated, but applications should not rely on this additional buffer space. +

The buffer exposed by this function is empty internal storage from the ogg_sync_state struct, beginning at the fill mark within the struct. +

A pointer to this buffer is returned to be used by the calling application. + +

+ + + + +
+

+char *ogg_sync_buffer(ogg_sync_state *oy, long size);
+
+
+ +

Parameters

+
+
oy
+
Pointer to a previously declared ogg_sync_state struct.
+
size
+
Size of the desired buffer. The actual size of the buffer returned will be this size plus some extra bytes (currently 4096). +
+ + +

Return Values

+
+
  • +Returns a pointer to the newly allocated buffer or NULL on error
  • +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2000-2019 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.4 - 20190830

    + + + + + -- cgit v1.2.3