Commit 6cd94998 authored by Tobias Bindhammer's avatar Tobias Bindhammer

enable a flexible lifetime

Originally committed as revision 24940 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 99d8166d
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#define DITHERSTEPS 8 #define DITHERSTEPS 8
#define CHARSET_CHARS 256 #define CHARSET_CHARS 256
#define INTERLACED 1 #define INTERLACED 1
#define LIFETIME 4
/* gray gradient */ /* gray gradient */
static const int mc_colors[5]={0x0,0xb,0xc,0xf,0x1}; static const int mc_colors[5]={0x0,0xb,0xc,0xf,0x1};
...@@ -241,7 +240,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf, ...@@ -241,7 +240,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf,
int a; int a;
int req_size; int req_size;
int num_frames = LIFETIME; int num_frames = c->mc_lifetime;
int *charmap = c->mc_charmap; int *charmap = c->mc_charmap;
uint8_t *colram = c->mc_colram; uint8_t *colram = c->mc_colram;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment