diff libmpcodecs/vd_ffmpeg.c @ 28296:08c1417e757b

fix compilation on non x86 machines (PPC here)
author gpoirier
date Fri, 16 Jan 2009 10:07:14 +0000
parents b2e17894b4d0
children 8baa89b228c5
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Fri Jan 16 09:44:36 2009 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Fri Jan 16 10:07:14 2009 +0000
@@ -892,7 +892,7 @@
 	mpi->stride[2]*=2;
     }
     
-#ifdef WORDS_BIGENDIAN
+#if WORDS_BIGENDIAN
     // FIXME: this might cause problems for buffers with FF_BUFFER_HINTS_PRESERVE
     if (mpi->bpp == 8)
         swap_palette(mpi->planes[1]);