summaryrefslogtreecommitdiffstats
path: root/libvo/vo_tga.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-29 01:32:03 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-29 01:32:03 +0300
commit4a36b51ea62bae47ea9bf8df3031c88a1992b7a6 (patch)
tree8ade74ff57f052e87f36b763703ffc03af823001 /libvo/vo_tga.c
parentc73217c07a98013887f507849c18eeac1257df58 (diff)
parent45b7b9374bb2a772baa34a52d1abac11c939de15 (diff)
downloadmpv-4a36b51ea62bae47ea9bf8df3031c88a1992b7a6.tar.bz2
mpv-4a36b51ea62bae47ea9bf8df3031c88a1992b7a6.tar.xz
Merge svn changes up to r29455
Diffstat (limited to 'libvo/vo_tga.c')
-rw-r--r--libvo/vo_tga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c
index 707455b4ea..38299aca88 100644
--- a/libvo/vo_tga.c
+++ b/libvo/vo_tga.c
@@ -138,7 +138,7 @@ static int write_tga( char *file, int bpp, int dx, int dy, uint8_t *buf, int str
s = buf;
d = line_buff;
for(x = 0; x < dx; x++) {
- #ifdef WORDS_BIGENDIAN
+ #if HAVE_BIGENDIAN
d[0] = s[3];
d[1] = s[2];
d[2] = s[1];