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
42 * Attempt to process a packet as a data packet42 * Attempt to process a packet as a data packet
43 * @return < 0 (AVERROR) code or -1 on error43 * @return < 0 (AVERROR) code or -1 on error
44 * == 0 if the packet was a regular data packet.44 * == 0 if the packet was a regular data packet.
45 * == 0 or 1 if the packet was a header from a chained bitstream.45 * == 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())46 * This will cause the packet to be skiped in calling code (ogg_packet()
47 */47 */
48 int (*packet)(AVFormatContext *, int);48 int (*packet)(AVFormatContext *, int);
49 /**49 /**

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