提交 0c3c674c 编写于 作者: M Michael Niedermayer

remove useless static cm variable

Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 861450d5
......@@ -32,7 +32,7 @@
#define DVBSUB_OBJECT_SEGMENT 0x13
#define DVBSUB_DISPLAY_SEGMENT 0x80
static unsigned char *cm;
#define cm (ff_cropTbl + MAX_NEG_CROP)
#ifdef DEBUG_SAVE_IMAGES
#undef fprintf
......@@ -344,8 +344,6 @@ static int dvbsub_init_decoder(AVCodecContext *avctx)
int i, r, g, b, a = 0;
DVBSubContext *ctx = (DVBSubContext*) avctx->priv_data;
cm = ff_cropTbl + MAX_NEG_CROP;
memset(avctx->priv_data, 0, sizeof(DVBSubContext));
ctx->composition_id = avctx->sub_id & 0xffff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册