[FFmpeg-cvslog] r24940 - trunk/libavcodec/a64multienc.c

bindhammer subversion
Thu Aug 26 12:03:03 CEST 2010


Author: bindhammer
Date: Thu Aug 26 12:03:03 2010
New Revision: 24940

Log:
enable a flexible lifetime

Modified:
   trunk/libavcodec/a64multienc.c

Modified: trunk/libavcodec/a64multienc.c
==============================================================================
--- trunk/libavcodec/a64multienc.c	Thu Aug 26 12:02:59 2010	(r24939)
+++ trunk/libavcodec/a64multienc.c	Thu Aug 26 12:03:03 2010	(r24940)
@@ -33,7 +33,6 @@
 #define DITHERSTEPS   8
 #define CHARSET_CHARS 256
 #define INTERLACED    1
-#define LIFETIME      4
 
 /* gray gradient */
 static const int mc_colors[5]={0x0,0xb,0xc,0xf,0x1};
@@ -241,7 +240,7 @@ static int a64multi_encode_frame(AVCodec
     int a;
 
     int req_size;
-    int num_frames = LIFETIME;
+    int num_frames = c->mc_lifetime;
 
     int *charmap         = c->mc_charmap;
     uint8_t *colram      = c->mc_colram;



More information about the ffmpeg-cvslog mailing list