This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 748ed2c9a870b09a9a2dd789c618aeb1f0cf8221 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 6 16:22:51 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Oct 11 17:25:08 2026 +0200 avcodec/avcodec: document that a parser cannot be used after EOF Fixes: QjW951nk93s9 Found-by: Mike Murunov [genproof.com] --- libavcodec/avcodec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index dcd19f8ff5..593ce08036 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2817,7 +2817,9 @@ AVCodecParserContext *av_parser_init(enum AVCodecID codec_id); * @param buf_size buffer size in bytes without the padding. I.e. the full buffer size is assumed to be buf_size + AV_INPUT_BUFFER_PADDING_SIZE. To signal EOF, this should be 0 (so that the last frame - can be output). + can be output). After EOF has been signaled, only + further calls with buf_size 0 are allowed; to parse + new data, close the parser and allocate a new one. * @param pts input presentation timestamp. * @param dts input decoding timestamp. * @param pos input byte position in stream. -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
