[FFmpeg-cvslog] r16482 - trunk/libavcodec/avcodec.h
michael
subversion
Wed Jan 7 20:55:08 CET 2009
Author: michael
Date: Wed Jan 7 20:55:08 2009
New Revision: 16482
Log:
Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Wed Jan 7 19:42:24 2009 (r16481)
+++ trunk/libavcodec/avcodec.h Wed Jan 7 20:55:08 2009 (r16482)
@@ -2797,6 +2797,9 @@ int avcodec_decode_audio2(AVCodecContext
* 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
More information about the ffmpeg-cvslog
mailing list