unused variable
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Mar 2006 18:34:51 +0000 (18:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Mar 2006 18:34:51 +0000 (18:34 +0000)
Originally committed as revision 5135 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index f7369c1..c0b5e35 100644 (file)
@@ -1480,7 +1480,7 @@ void ff_h263_loop_filter(MpegEncContext * s){
 static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr)
 {
     int x, y, wrap, a, c, pred_dc, scale;
-    int16_t *dc_val, *ac_val;
+    int16_t *dc_val;
 
     /* find prediction */
     if (n < 4) {
@@ -1488,14 +1488,12 @@ static int h263_pred_dc(MpegEncContext * s, int n, uint16_t **dc_val_ptr)
         y = 2 * s->mb_y + ((n & 2) >> 1);
         wrap = s->b8_stride;
         dc_val = s->dc_val[0];
-        ac_val = s->ac_val[0][0];
         scale = s->y_dc_scale;
     } else {
         x = s->mb_x;
         y = s->mb_y;
         wrap = s->mb_stride;
         dc_val = s->dc_val[n - 4 + 1];
-        ac_val = s->ac_val[n - 4 + 1][0];
         scale = s->c_dc_scale;
     }
     /* B C