From c829b35c08ad8e1df45cca1cd12f084cf1183d07 Mon Sep 17 00:00:00 2001
From: Janne Grunau <janne-libav@jannau.net>
Date: Tue, 18 Mar 2014 12:09:07 +0100
Subject: [PATCH] lavc: er: remove unused variable size

The code using it was removed in d66e305bd1b.
---
 libavcodec/error_resilience.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index d648f09945c..6ab5a980da3 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -825,7 +825,6 @@ void ff_er_frame_end(ERContext *s)
     int threshold_part[4] = { 100, 100, 100 };
     int threshold = 50;
     int is_intra_likely;
-    int size = s->b8_stride * 2 * s->mb_height;
 
     /* We do not support ER of field pictures yet,
      * though it should not crash if enabled. */
-- 
GitLab