提交 1fa9726c 编写于 作者: D David Conrad

Document ogg_codec's header function

Originally committed as revision 18100 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 be2a6e2f
......@@ -31,6 +31,12 @@ struct ogg_codec {
const int8_t *magic;
uint8_t magicsize;
const int8_t *name;
/**
* Attempt to process a packet as a header
* @return 1 if the packet was a valid header,
* 0 if the packet was not a header (was a data packet)
* -1 if an error occurred or for unsupported stream
*/
int (*header)(AVFormatContext *, int);
int (*packet)(AVFormatContext *, int);
uint64_t (*gptopts)(AVFormatContext *, int, uint64_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册