You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc: mention that the parser callback never returns an error
This commit is contained in:
@@ -3858,6 +3858,8 @@ typedef struct AVCodecParser {
|
|||||||
int codec_ids[5]; /* several codec IDs are permitted */
|
int codec_ids[5]; /* several codec IDs are permitted */
|
||||||
int priv_data_size;
|
int priv_data_size;
|
||||||
int (*parser_init)(AVCodecParserContext *s);
|
int (*parser_init)(AVCodecParserContext *s);
|
||||||
|
/* This callback never returns an error, a negative value means that
|
||||||
|
* the frame start was in a previous packet. */
|
||||||
int (*parser_parse)(AVCodecParserContext *s,
|
int (*parser_parse)(AVCodecParserContext *s,
|
||||||
AVCodecContext *avctx,
|
AVCodecContext *avctx,
|
||||||
const uint8_t **poutbuf, int *poutbuf_size,
|
const uint8_t **poutbuf, int *poutbuf_size,
|
||||||
|
Reference in New Issue
Block a user