[FFmpeg-cvslog] lavc: mention that the parser callback never returns an error

Vittorio Giovara git at videolan.org
Sat Dec 6 01:01:01 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Dec  4 20:46:16 2014 +0000| [b72727a5248f1ef02db99b378dce1eb48a46357a] | committer: Vittorio Giovara

lavc: mention that the parser callback never returns an error

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b72727a5248f1ef02db99b378dce1eb48a46357a
---

 libavcodec/avcodec.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b3c6419..7df64ae 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3858,6 +3858,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,



More information about the ffmpeg-cvslog mailing list