aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorJustin Ruggles <jruggle@earthlink.net>2006-06-24 09:25:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-06-24 09:25:21 +0000
commitcef7cc72321670a37b758cb9a3382ddf609876aa (patch)
tree8c13d71407b8570c9597fad83d040e988195450a /libavcodec/avcodec.h
parenta66d63a94e0ad40646731886ce47e135a7154634 (diff)
downloadffmpeg-cef7cc72321670a37b758cb9a3382ddf609876aa.tar.gz
CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net
Originally committed as revision 5512 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a879419e7c..95a3dd071f 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -365,6 +365,11 @@ extern int motion_estimation_method;
* 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