Mercurial > libavcodec.hg
diff zmbv.c @ 5089:bff60ecc02f9 libavcodec
Use AV_xx throughout libavcodec
author | ramiro |
---|---|
date | Sat, 02 Jun 2007 01:41:07 +0000 |
parents | f99e40a7155b |
children | b985439e3e15 |
line wrap: on
line diff
--- a/zmbv.c Fri Jun 01 21:17:05 2007 +0000 +++ b/zmbv.c Sat Jun 02 01:41:07 2007 +0000 @@ -579,9 +579,7 @@ for(i = 0; i < c->width; i++) { uint32_t tmp = AV_RL32(src); src += 4; - out[i * 3 + 0] = tmp >> 16; - out[i * 3 + 1] = tmp >> 8; - out[i * 3 + 2] = tmp >> 0; + AV_WB24(out+(i*3), tmp); } out += c->pic.linesize[0]; }