changeset 3352:608659b58523 libavcodec

CODEC_CAP_SMALL_LAST_FRAME patch by Justin Ruggles jruggle earthlink net
author michael
date Sat, 24 Jun 2006 09:25:21 +0000
parents 42b85e03b408
children 5b901881d6ed
files avcodec.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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