Commit 45ee48d0 authored by michael's avatar michael

remove useless static cm variable


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8393 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8487d8c2
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define DVBSUB_OBJECT_SEGMENT 0x13 #define DVBSUB_OBJECT_SEGMENT 0x13
#define DVBSUB_DISPLAY_SEGMENT 0x80 #define DVBSUB_DISPLAY_SEGMENT 0x80
static unsigned char *cm; #define cm (ff_cropTbl + MAX_NEG_CROP)
#ifdef DEBUG_SAVE_IMAGES #ifdef DEBUG_SAVE_IMAGES
#undef fprintf #undef fprintf
...@@ -344,8 +344,6 @@ static int dvbsub_init_decoder(AVCodecContext *avctx) ...@@ -344,8 +344,6 @@ static int dvbsub_init_decoder(AVCodecContext *avctx)
int i, r, g, b, a = 0; int i, r, g, b, a = 0;
DVBSubContext *ctx = (DVBSubContext*) avctx->priv_data; DVBSubContext *ctx = (DVBSubContext*) avctx->priv_data;
cm = ff_cropTbl + MAX_NEG_CROP;
memset(avctx->priv_data, 0, sizeof(DVBSubContext)); memset(avctx->priv_data, 0, sizeof(DVBSubContext));
ctx->composition_id = avctx->sub_id & 0xffff; ctx->composition_id = avctx->sub_id & 0xffff;
......
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