[FFmpeg-devel] [PATCH 4/7] bbox: remove superfluous initializations

Paul B Mahol onemda at gmail.com
Thu Mar 22 04:36:28 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavfilter/bbox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/bbox.c b/libavfilter/bbox.c
index c29c758..be9b2e6 100644
--- a/libavfilter/bbox.c
+++ b/libavfilter/bbox.c
@@ -27,8 +27,8 @@ int ff_calculate_bounding_box(FFBoundingBox *bbox,
     int x, y;
     int start_x;
     int start_y;
-    int end_x = w - 1;
-    int end_y = h - 1;
+    int end_x;
+    int end_y;
     const uint8_t *line;
 
     /* left bound */
-- 
1.7.7



More information about the ffmpeg-devel mailing list