Mercurial > libavcodec.hg
changeset 8548:3586e03586a0 libavcodec
Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
author | michael |
---|---|
date | Wed, 07 Jan 2009 19:55:08 +0000 |
parents | b9880fc0afaf |
children | 2cbfa4cd4670 |
files | avcodec.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Wed Jan 07 18:42:24 2009 +0000 +++ b/avcodec.h Wed Jan 07 19:55:08 2009 +0000 @@ -2797,6 +2797,9 @@ * the linesize is not a multiple of 16 then there's no sense in aligning the * start of the buffer to 16. * + * @note Some codecs have a delay between input and output, these need to be + * feeded with buf=NULL, buf_size=0 at the end to return the remaining frames. + * * @param avctx the codec context * @param[out] picture The AVFrame in which the decoded video frame will be stored. * @param[in] buf the input buffer