aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvbsubdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-13 22:53:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-13 22:53:01 +0000
commit0c3c674cde386a00bcb4446444520ace5c2aed6a (patch)
treea6cc0776bb72388c6aeff7007e424fa5ac292400 /libavcodec/dvbsubdec.c
parent861450d551390ebbe22c7c6360224a89f144f112 (diff)
downloadffmpeg-0c3c674cde386a00bcb4446444520ace5c2aed6a.tar.gz
remove useless static cm variable
Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r--libavcodec/dvbsubdec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index 79da1a60b0..08ef6213e0 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -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;