Commit 7d0edcaa authored by michael's avatar michael

Document the need of buf=NULL buf_size=0 at the end to obtain all frames.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16482 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c57e7134
...@@ -2797,6 +2797,9 @@ int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples, ...@@ -2797,6 +2797,9 @@ int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples,
* the linesize is not a multiple of 16 then there's no sense in aligning the * the linesize is not a multiple of 16 then there's no sense in aligning the
* start of the buffer to 16. * 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 avctx the codec context
* @param[out] picture The AVFrame in which the decoded video frame will be stored. * @param[out] picture The AVFrame in which the decoded video frame will be stored.
* @param[in] buf the input buffer * @param[in] buf the input buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment