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

libogg documentation

libogg release 1.3.4 - 20190830

+ +

ogg_stream_packetpeek

+ +

declared in "ogg/ogg.h";

+ +

This function attempts to assemble a raw data packet and returns +it without advancing decoding.

+ +

In a typical situation, this would be called +speculatively after ogg_stream_pagein() to check +the packet contents before handing it off to a codec for +decompression. To advance page decoding and remove +the packet from the sync structure, call +ogg_stream_packetout().

+ +

+ + + + + +
+

+int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op);
+
+
+ +

Parameters

+
+
os
+
Pointer to a previously declared +ogg_stream_state struct. Before this +function is called, an ogg_page should be +submitted to the stream using +ogg_stream_pagein().
+
op
+
Pointer to the next packet available in the bitstream, if +any. A NULL value may be passed in the case of a simple "is there a +packet?" check.
+
+ + +

Return Values

+
+ +
+ + +

+ +
+ + + + + + + + + +

copyright © 2000-2019 Xiph.Org Foundation

Ogg Container Format

libogg documentation

libogg release 1.3.4 - 20190830

+ + + + + -- cgit v1.2.3