History

libavformat/oggdec.h: Document packet function return value.

Romain Beauxis committed 1 year ago

Commit 6d54af61 parent 0d7172a1 file · +6 −0Browse files

Unified · Split

libavformat/oggdec.h+6−0
@@ -38,6 +38,12 @@ struct ogg_codec { · 37 unmodified lines
3838 * -1 if an error occurred or for unsupported stream
3939 */
4040 int (*header)(AVFormatContext *, int);
41+ /**
42+ * Attempt to process a packet as a data packet
43+ * @return < 0 (AVERROR) code or -1 on error
44+ * == 0 if the packet was a regular data packet.
45+ * == 0 or 1 if the packet was a header from a chained bitstream.
46+ */
4147 int (*packet)(AVFormatContext *, int);
4248 /**
4349 * Translate a granule into a timestamp.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t