[Ffmpeg-cvslog] r8393 - trunk/libavcodec/dvbsubdec.c

michael subversion
Tue Mar 13 23:53:01 CET 2007


Author: michael
Date: Tue Mar 13 23:53:01 2007
New Revision: 8393

Modified:
   trunk/libavcodec/dvbsubdec.c

Log:
remove useless static cm variable


Modified: trunk/libavcodec/dvbsubdec.c
==============================================================================
--- trunk/libavcodec/dvbsubdec.c	(original)
+++ trunk/libavcodec/dvbsubdec.c	Tue Mar 13 23:53:01 2007
@@ -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(AVCodecCo
     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;




More information about the ffmpeg-cvslog mailing list