>From 13ae43f8397abd925bc525ea5ab0e31511dedcf7 Mon Sep 17 00:00:00 2001
From: Ray Simard <rhs.ffmpeg@sylvan-glade.com>
Date: Thu, 12 Jan 2012 17:21:06 -0800
Subject: [PATCH 1/2] Transform struct inits in end_frame

Transform structs t and orig initialized to zero.

Signed-off-by: Ray Simard <rhs.ffmpeg@sylvan-glade.com>
---
 libavfilter/vf_deshake.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index c2d8f92..1464147 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -433,11 +433,10 @@ static void end_frame(AVFilterLink *link)
     DeshakeContext *deshake = link->dst->priv;
     AVFilterBufferRef *in  = link->cur_buf;
     AVFilterBufferRef *out = link->dst->outputs[0]->out_buf;
-    Transform t;
+    Transform t = {{0},0}, orig = {{0},0};
     float matrix[9];
     float alpha = 2.0 / deshake->refcount;
     char tmp[256];
-    Transform orig;
 
     if (deshake->cx < 0 || deshake->cy < 0 || deshake->cw < 0 || deshake->ch < 0) {
         // Find the most likely global motion for the current frame
-- 
1.7.5.1



