aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-07 19:55:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-07 19:55:08 +0000
commit1b9bbf86740bc6ef97fdf31f0744fac93e5640f2 (patch)
tree2300ecb2c3c9d439afb6649e63888feaa191adb2 /libavcodec/avcodec.h
parent0d9efa287a04ab00858ba7bc64c4965a8a2f5e45 (diff)
downloadffmpeg-1b9bbf86740bc6ef97fdf31f0744fac93e5640f2.tar.gz
Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
Originally committed as revision 16482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 40dc4ac42e..3d3e2448a7 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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
* 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