diff pixdesc.c @ 9223:53f2c0f6e71d libavcodec

Change the RGB5X5/BGR5X5 pixel format defines so that we have little endian and big endian variants instead of native-endian ones. This patch breaks API/ABI backward-compatibility.
author stefano
date Sat, 21 Mar 2009 23:08:20 +0000
parents e10efe27c6b1
children 49340eb6f96f
line wrap: on
line diff
--- a/pixdesc.c	Sat Mar 21 22:43:46 2009 +0000
+++ b/pixdesc.c	Sat Mar 21 23:08:20 2009 +0000
@@ -154,8 +154,6 @@
         },
         .flags = PIX_FMT_BE,
     },
-//FIXME change pix fmt defines so that we have a LE & BE instead of a native-endian
-#if 0
     [PIX_FMT_RGB565LE] = {
         .name = "rgb565le",
         .nb_channels  = 3,
@@ -179,7 +177,6 @@
         },
         .flags = PIX_FMT_BE,
     },
-#endif
     [PIX_FMT_MONOBLACK] = {
         .name = "monoblack",
         .nb_channels  = 1,