# HG changeset patch # User reimar # Date 1269696127 0 # Node ID c7084c69abcc4c3f0a33c49c912c24f697f7e453 # Parent 0eb476c1730d6d7b1f16f47ccda6c06f7d52ee26 Clearer CODEC_CAP_DR1 documentation. diff -r 0eb476c1730d -r c7084c69abcc avcodec.h --- a/avcodec.h Fri Mar 26 05:04:03 2010 +0000 +++ b/avcodec.h Sat Mar 27 13:22:07 2010 +0000 @@ -604,8 +604,9 @@ #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 ///< Decoder can use draw_horiz_band callback. /** - * Codec uses get_buffer() for allocating buffers. - * direct rendering method 1 + * Codec uses get_buffer() for allocating buffers and supports custom allocators. + * If not set, it might not use get_buffer() at all or use operations that + * assume the buffer was allocated by avcodec_default_get_buffer. */ #define CODEC_CAP_DR1 0x0002 /* If 'parse_only' field is true, then avcodec_parse_frame() can be used. */