diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-09-25 17:09:03 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-20 13:30:08 -0400 |
commit | 352fc5f1286bff600890903bf4a1eb0ce0842fdc (patch) | |
tree | 1fbc2e1f4868605dc67d7736e8d23466bba77ea2 /libavcodec | |
parent | ffeeae923b03b2b923d58a3c2e00f728ceaf5f87 (diff) | |
download | ffmpeg-352fc5f1286bff600890903bf4a1eb0ce0842fdc.tar.gz |
avcodec: clarify the CODEC_CAP_DELAY note in avcodec_decode_video2()
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 2e735f9acc..623da5e166 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3865,8 +3865,9 @@ int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, * * In practice, avpkt->data should have 4 byte alignment at minimum. * - * @note Some codecs have a delay between input and output, these need to be - * fed with avpkt->data=NULL, avpkt->size=0 at the end to return the remaining frames. + * @note Codecs which have the CODEC_CAP_DELAY capability set have a delay + * between input and output, these need to be fed with avpkt->data=NULL, + * avpkt->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. |