comparison bmp.c @ 12128:ee740a4e80c5 libavcodec

bswap: change ME to NE in macro names Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent.
author mru
date Sat, 10 Jul 2010 22:09:01 +0000
parents c35d7bc64882
children 8b28e74de2c0
comparison
equal deleted inserted replaced
12127:9ba7d2a5b20a 12128:ee740a4e80c5
288 for(i = 0; i < avctx->height; i++){ 288 for(i = 0; i < avctx->height; i++){
289 const uint16_t *src = (const uint16_t *) buf; 289 const uint16_t *src = (const uint16_t *) buf;
290 uint16_t *dst = (uint16_t *) ptr; 290 uint16_t *dst = (uint16_t *) ptr;
291 291
292 for(j = 0; j < avctx->width; j++) 292 for(j = 0; j < avctx->width; j++)
293 *dst++ = le2me_16(*src++); 293 *dst++ = le2ne_16(*src++);
294 294
295 buf += n; 295 buf += n;
296 ptr += linesize; 296 ptr += linesize;
297 } 297 }
298 break; 298 break;