# HG changeset patch # User michael # Date 1151141121 0 # Node ID 608659b58523dd21c49e8fb8dad9431f9f072ff0 # Parent 42b85e03b408983fe0ff527d6a0dd020ea94b4cd CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net diff -r 42b85e03b408 -r 608659b58523 avcodec.h --- a/avcodec.h Wed Jun 21 00:21:26 2006 +0000 +++ b/avcodec.h Sat Jun 24 09:25:21 2006 +0000 @@ -365,6 +365,11 @@ * if this is not set, the codec is guranteed to never be feeded with NULL data */ #define CODEC_CAP_DELAY 0x0020 +/** + * Codec can be fed a final frame with a smaller size. + * This can be used to prevent truncation of the last audio samples. + */ +#define CODEC_CAP_SMALL_LAST_FRAME 0x0040 //the following defines may change, don't expect compatibility if you use them #define MB_TYPE_INTRA4x4 0x0001