avcodec/error_resilience: comment out unused assignment
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Aug 2014 20:01:59 +0000 (22:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Aug 2014 20:01:59 +0000 (22:01 +0200)
Its not removed as the code which uses this is out-commented too.

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/error_resilience.c

index 86e33a1..ff5c7d0 100644 (file)
@@ -1200,7 +1200,7 @@ void ff_er_frame_end(ERContext *s)
             const int mb_xy   = mb_x + mb_y * s->mb_stride;
             const int mb_type = s->cur_pic.mb_type[mb_xy];
 
-            error = s->error_status_table[mb_xy];
+            // error = s->error_status_table[mb_xy];
 
             if (IS_INTRA(mb_type) && s->partitioned_frame)
                 continue;