Commit bf935690 authored by michael's avatar michael

Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23457 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7db5cf9a
......@@ -3502,7 +3502,7 @@ attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame *pi
* Use avcodec_alloc_frame to get an AVFrame, the codec will
* allocate memory for the actual bitmap.
* with default get/release_buffer(), the decoder frees/reuses the bitmap as it sees fit.
* with overridden get/release_buffer() the user decides into what buffer the decoder
* with overridden get/release_buffer() (needs CODEC_CAP_DR1) the user decides into what buffer the decoder
* decodes and the decoder tells the user once it does not need the data anymore,
* the user app can at this point free/reuse/keep the memory as it sees fit.
*
......
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