1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Romain Beauxis
2025-05-24 13:14:08 -05:00
committed by Michael Niedermayer
parent 574f634e49
commit 5030564376

View File

@@ -42,8 +42,8 @@ struct ogg_codec {
* Attempt to process a packet as a data packet
* @return < 0 (AVERROR) code or -1 on error
* == 0 if the packet was a regular data packet.
* == 0 or 1 if the packet was a header from a chained bitstream.
* (1 will cause the packet to be skiped in calling code (ogg_packet())
* == 1 if the packet was a header from a chained bitstream.
* This will cause the packet to be skiped in calling code (ogg_packet()
*/
int (*packet)(AVFormatContext *, int);
/**