deinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 12:21:12 +0000 (13:21 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 12:21:12 +0000 (13:21 +0100)
gst/deinterlace/tvtime/greedyh.asm
gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc

index d87b9e3..c710b4a 100644 (file)
@@ -43,7 +43,7 @@ FUNCT_NAME_YUY2 (GstDeinterlaceMethodGreedyH *self, const guint8 * L1, const gui
   gint64 MotionSense;
   gint64 i;
   glong LoopCtr;
-  glong oldbx;
+  glong oldbx = 0;
 
   gint64 QW256B;
   gint64 LastAvg = 0;          //interp value from left qword
@@ -262,7 +262,7 @@ FUNCT_NAME_UYVY (GstDeinterlaceMethodGreedyH *self, const guint8 * L1, const gui
   gint64 MotionSense;
   gint64 i;
   glong LoopCtr;
-  glong oldbx;
+  glong oldbx = 0;
 
   gint64 QW256B;
   gint64 LastAvg = 0;          //interp value from left qword
index 9d6a490..275c7dd 100644 (file)
@@ -92,7 +92,7 @@ long     Last8;
           int64_t Max_Vals  = 0x0000000000000000ull;
           int64_t ShiftMask = 0xfefffefffefffeffull;
 
-          long oldbx;
+          long oldbx = 0;
 
                // pretend it's indented -->>
         __asm__ __volatile__