Permalink
Browse files

Fix compilation of greedy deinterlacer when using clang...

Unfortunately, it still doesn't compile on 32 bits platform, the bug has been reported to the llvm team.
  • Loading branch information...
jyavenard committed Jun 15, 2012
1 parent 12a3eac commit 8f998ab17edb602b3bc8e38132074ce69eb4733c
Showing with 4 additions and 7 deletions.
  1. +4 −4 mythtv/filters/greedyhdeint/greedyh.asm
  2. +0 −3 mythtv/filters/greedyhdeint/greedyhdeint.pro
@@ -26,10 +26,10 @@ static const int64_t __attribute__((__used__)) UVMask = 0xff00ff00ff00ff00
static const int64_t __attribute__((__used__)) ShiftMask = 0xfefffefffefffeffull; // to avoid shifting chroma to luma
static const int64_t __attribute__((__used__)) QW256 = 0x0100010001000100ull; // 4 256's
-static int64_t MaxComb;
-static int64_t MotionThreshold;
-static int64_t MotionSense;
-static int64_t QW256B;
+static int64_t __attribute__((__used__)) MaxComb;
+static int64_t __attribute__((__used__)) MotionThreshold;
+static int64_t __attribute__((__used__)) MotionSense;
+static int64_t __attribute__((__used__)) QW256B;
#endif
@@ -5,6 +5,3 @@ INCLUDEPATH += ../../libs/libmythtv ../../libs/libavcodec ../..
# Input
SOURCES += filter_greedyhdeint.c color.c
-
-# llvm/xcode doesn't compile if -O3 is enabled (or any other -O for that matter)
-macx: QMAKE_CFLAGS -= -O3 -O2 -O1 -Os

0 comments on commit 8f998ab

Please sign in to comment.