comparison libmpcodecs/vd_ffmpeg.c @ 28299:8baa89b228c5

revert #ifdef WORDS_BIGENDIAN => #if WORDS_BIGENDIAN changes from r28331
author gpoirier
date Fri, 16 Jan 2009 13:19:29 +0000
parents 08c1417e757b
children 5e5e9962a96d
comparison
equal deleted inserted replaced
28298:a7124a264ea6 28299:8baa89b228c5
890 // we have 422p but user wants 420p 890 // we have 422p but user wants 420p
891 mpi->stride[1]*=2; 891 mpi->stride[1]*=2;
892 mpi->stride[2]*=2; 892 mpi->stride[2]*=2;
893 } 893 }
894 894
895 #if WORDS_BIGENDIAN 895 #ifdef WORDS_BIGENDIAN
896 // FIXME: this might cause problems for buffers with FF_BUFFER_HINTS_PRESERVE 896 // FIXME: this might cause problems for buffers with FF_BUFFER_HINTS_PRESERVE
897 if (mpi->bpp == 8) 897 if (mpi->bpp == 8)
898 swap_palette(mpi->planes[1]); 898 swap_palette(mpi->planes[1]);
899 #endif 899 #endif
900 /* to comfirm with newer lavc style */ 900 /* to comfirm with newer lavc style */