diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index dabae1b2bd..75ef840e16 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -4354,6 +4354,8 @@ typedef struct AVCodecParser { int codec_ids[5]; /* several codec IDs are permitted */ int priv_data_size; 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, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size,