# HG changeset patch # User michael # Date 1275602365 0 # Node ID c9ef45275db0905bd2e2c4861b22af5012d76392 # Parent 8cd526e30b06cac1d07e6c6e053399ca5a39cc24 Clarify that get/release_buffer() overriding only works with CODEC_CAP_DR1 codecs. diff -r 8cd526e30b06 -r c9ef45275db0 avcodec.h --- a/avcodec.h Thu Jun 03 21:53:41 2010 +0000 +++ b/avcodec.h Thu Jun 03 21:59:25 2010 +0000 @@ -3502,7 +3502,7 @@ * 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. *