mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec: add CODEC_CAP_DELAY note to avcodec_decode_audio3() documentation
This commit is contained in:
parent
352fc5f128
commit
68d3aec819
@ -3832,6 +3832,10 @@ int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options)
|
||||
* samples should be 16 byte aligned unless the CPU doesn't need it
|
||||
* (AltiVec and SSE do).
|
||||
*
|
||||
* @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] samples the output buffer, sample type in avctx->sample_fmt
|
||||
* @param[in,out] frame_size_ptr the output buffer size in bytes
|
||||
|
Loading…
Reference in New Issue
Block a user