summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2012-06-05 02:24:52 +0200
committerSlávek Banko <[email protected]>2012-06-05 02:24:52 +0200
commit2deddec224632954448174da8bd6f4108f8b2206 (patch)
tree7ec9ebe3fb1d7f7b4c1acc2555f33282798ef046
parent13f595740314477cbe98a78fade7d1cf7942fa18 (diff)
downloadkaffeine-2deddec224632954448174da8bd6f4108f8b2206.tar.gz
kaffeine-2deddec224632954448174da8bd6f4108f8b2206.zip
Fix FTBFS
This closes Bug 727 An alternative way to compile with the original tqtinterface v3.5.13
-rw-r--r--kaffeine/src/player-parts/xine-part/kxinewidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
index 68d47ac..1c738f7 100644
--- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
@@ -1517,11 +1517,11 @@ bool KXineWidget::playDvb()
#error Q_BYTE_ORDER is not defined!
#endif
-#ifndef TQ_LITTLE_ENDIAN
-#error TQ_LITTLE_ENDIAN is not defined!
+#ifndef Q_LITTLE_ENDIAN
+#error Q_LITTLE_ENDIAN is not defined!
#endif
-#if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN
+#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
#define rgb2yuv(R,G,B) ((((((66*R+129*G+25*B+128)>>8)+16)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((-38*R-74*G+112*B+128)>>8)+128))
#else
#define rgb2yuv(R,G,B) (((((((-38*R-74*G+112*B+128)>>8)+128)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((66*R+129*G+25*B+128)>>8)+16))<<8)
@@ -4076,7 +4076,7 @@ uchar* KXineWidget::yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, i
clip_8_bit (g);
clip_8_bit (b);
-#if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN
+#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
rgb[(i * width + j) * 4 + 0] = b;
rgb[(i * width + j) * 4 + 1] = g;
rgb[(i * width + j) * 4 + 2] = r;