[FFmpeg-cvslog] r18559 - trunk/libavcodec/mpegvideo.c

michael subversion
Fri Apr 17 16:51:00 CEST 2009


Author: michael
Date: Fri Apr 17 16:51:00 2009
New Revision: 18559

Log:
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.

Modified:
   trunk/libavcodec/mpegvideo.c

Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c	Fri Apr 17 16:43:28 2009	(r18558)
+++ trunk/libavcodec/mpegvideo.c	Fri Apr 17 16:51:00 2009	(r18559)
@@ -1780,16 +1780,12 @@ static av_always_inline
 void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64],
                             int lowres_flag, int is_mpeg12)
 {
-    int mb_x, mb_y;
     const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
     if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration){
         ff_xvmc_decode_mb(s);//xvmc uses pblocks
         return;
     }
 
-    mb_x = s->mb_x;
-    mb_y = s->mb_y;
-
     if(s->avctx->debug&FF_DEBUG_DCT_COEFF) {
        /* save DCT coefficients */
        int i,j;



More information about the ffmpeg-cvslog mailing list