comparison bmp.c @ 12129:8b28e74de2c0 libavcodec

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:30 +0000
parents ee740a4e80c5
children
comparison
equal deleted inserted replaced
12128:ee740a4e80c5 12129:8b28e74de2c0
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++ = le2ne_16(*src++); 293 *dst++ = av_le2ne16(*src++);
294 294
295 buf += n; 295 buf += n;
296 ptr += linesize; 296 ptr += linesize;
297 } 297 }
298 break; 298 break;