Mercurial > libavcodec.hg
diff asv1.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 | 7dd2a45249a9 |
children | 8b28e74de2c0 |
line wrap: on
line diff
--- a/asv1.c Sat Jul 10 14:36:53 2010 +0000 +++ b/asv1.c Sat Jul 10 22:09:01 2010 +0000 @@ -588,8 +588,8 @@ avctx->extradata= av_mallocz(8); avctx->extradata_size=8; - ((uint32_t*)avctx->extradata)[0]= le2me_32(a->inv_qscale); - ((uint32_t*)avctx->extradata)[1]= le2me_32(AV_RL32("ASUS")); + ((uint32_t*)avctx->extradata)[0]= le2ne_32(a->inv_qscale); + ((uint32_t*)avctx->extradata)[1]= le2ne_32(AV_RL32("ASUS")); for(i=0; i<64; i++){ int q= 32*scale*ff_mpeg1_default_intra_matrix[i];