Mercurial > libavcodec.hg
changeset 12428:06453ad84991 libavcodec
enable a flexible lifetime
author | bindhammer |
---|---|
date | Thu, 26 Aug 2010 10:03:03 +0000 |
parents | 1b8f44e2754e |
children | 305987348a98 |
files | a64multienc.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/a64multienc.c Thu Aug 26 10:02:59 2010 +0000 +++ b/a64multienc.c Thu Aug 26 10:03:03 2010 +0000 @@ -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 @@ 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;