[FFmpeg-cvslog] r23457 - trunk/libavcodec/avcodec.h
michael
subversion
Thu Jun 3 23:59:25 CEST 2010
Author: michael
Date: Thu Jun 3 23:59:25 2010
New Revision: 23457
Log:
Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs.
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Thu Jun 3 23:53:41 2010 (r23456)
+++ trunk/libavcodec/avcodec.h Thu Jun 3 23:59:25 2010 (r23457)
@@ -3502,7 +3502,7 @@ attribute_deprecated int avcodec_decode_
* 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.
*
More information about the ffmpeg-cvslog
mailing list