changeset 9467:0d6c8c99382e libavcodec

Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.
author michael
date Fri, 17 Apr 2009 14:51:00 +0000
parents 674090f13019
children 71608a4f9eb7
files mpegvideo.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Fri Apr 17 14:43:28 2009 +0000
+++ b/mpegvideo.c	Fri Apr 17 14:51:00 2009 +0000
@@ -1780,16 +1780,12 @@
 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;