[FFmpeg-cvslog] bbox: remove superfluous initializations

Paul B Mahol git at videolan.org
Thu Mar 22 14:03:31 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Mar 22 03:36:28 2012 +0000| [53c896770c1c91a6df480ebbef87062040e13e74] | committer: Michael Niedermayer

bbox: remove superfluous initializations

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53c896770c1c91a6df480ebbef87062040e13e74
---

 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 */



More information about the ffmpeg-cvslog mailing list