History

libavformat/oggdec.h: Change paket function documentation to return 1 on header packets only.

Romain Beauxis committed 1 year ago

Commit 50305641 parent 574f6341 file · +2 −2Browse files

Unified · Split

libavformat/oggdec.h+2−2
@@ -42,8 +42,8 @@ struct ogg_codec { · 41 unmodified lines
4242 * Attempt to process a packet as a data packet
4343 * @return < 0 (AVERROR) code or -1 on error
4444 * == 0 if the packet was a regular data packet.
45− * == 0 or 1 if the packet was a header from a chained bitstream.
46− * (1 will cause the packet to be skiped in calling code (ogg_packet())
45+ * == 1 if the packet was a header from a chained bitstream.
46+ * This will cause the packet to be skiped in calling code (ogg_packet()
4747 */
4848 int (*packet)(AVFormatContext *, int);
4949 /**

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