From dad2a52f62ba43488a42e8911ff549d4ecdb0fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Mar 2012 13:21:12 +0100 Subject: [PATCH] deinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings --- gst/deinterlace/tvtime/greedyh.asm | 4 ++-- gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/deinterlace/tvtime/greedyh.asm b/gst/deinterlace/tvtime/greedyh.asm index d87b9e392d..c710b4a1f2 100644 --- a/gst/deinterlace/tvtime/greedyh.asm +++ b/gst/deinterlace/tvtime/greedyh.asm @@ -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 diff --git a/gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc b/gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc index 9d6a490f50..275c7dd982 100644 --- a/gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc +++ b/gst/deinterlace/tvtime/tomsmocomp/SearchLoopTop.inc @@ -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__