summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-06-03 21:59:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-06-03 21:59:25 +0000
commit28f5ea781094e09ee5883fd77e892e8b7b3fe4e5 (patch)
tree74b30cd59f4019f457f160ea8154f7652fd9eafe /libavcodec/avcodec.h
parent3bc4e21b7b434906f119eeb2fd955f400222c1ee (diff)
Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.
Originally committed as revision 23457 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c6a1bc3278..432d2e6bd6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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.
*