comparison 8bps.c @ 9985:266bf83f634d libavcodec

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author mru
date Sun, 26 Jul 2009 12:20:04 +0000
parents 54bc8a2727b0
children d7ed9dcc78e3
comparison
equal deleted inserted replaced
9984:32dfddd8992a 9985:266bf83f634d
181 c->planemap[2] = 0; // 3rd plane is blue 181 c->planemap[2] = 0; // 3rd plane is blue
182 break; 182 break;
183 case 32: 183 case 32:
184 avctx->pix_fmt = PIX_FMT_RGB32; 184 avctx->pix_fmt = PIX_FMT_RGB32;
185 c->planes = 4; 185 c->planes = 4;
186 #ifdef WORDS_BIGENDIAN 186 #if HAVE_BIGENDIAN
187 c->planemap[0] = 1; // 1st plane is red 187 c->planemap[0] = 1; // 1st plane is red
188 c->planemap[1] = 2; // 2nd plane is green 188 c->planemap[1] = 2; // 2nd plane is green
189 c->planemap[2] = 3; // 3rd plane is blue 189 c->planemap[2] = 3; // 3rd plane is blue
190 c->planemap[3] = 0; // 4th plane is alpha??? 190 c->planemap[3] = 0; // 4th plane is alpha???
191 #else 191 #else