mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
libavformat/oggdec.h: Document packet function return value.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:

committed by
Michael Niedermayer

parent
0d7172a9ff
commit
6d54af6599
@ -38,6 +38,12 @@ struct ogg_codec {
|
||||
* -1 if an error occurred or for unsupported stream
|
||||
*/
|
||||
int (*header)(AVFormatContext *, int);
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
int (*packet)(AVFormatContext *, int);
|
||||
/**
|
||||
* Translate a granule into a timestamp.
|
||||
|
Reference in New Issue
Block a user