libavformat/oggdec.h: Document packet function return value.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0d7172a9ff
commit
6d54af6599
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue