Mercurial > libavformat.hg
diff movenc.c @ 1673:a782462e2497 libavformat
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
author | alex |
---|---|
date | Fri, 19 Jan 2007 22:12:59 +0000 |
parents | fef1f401f0d8 |
children | 2a85c82b8538 |
line wrap: on
line diff
--- a/movenc.c Thu Jan 18 23:23:41 2007 +0000 +++ b/movenc.c Fri Jan 19 22:12:59 2007 +0000 @@ -480,7 +480,7 @@ put_tag(pb, "avcC"); if (track->vosLen > 6) { /* check for h264 start code */ - if (BE_32(track->vosData) == 0x00000001) { + if (AV_RB32(track->vosData) == 0x00000001) { uint8_t *buf, *end; uint32_t sps_size=0, pps_size=0; uint8_t *sps=0, *pps=0; @@ -493,7 +493,7 @@ while (buf < end) { unsigned int size; uint8_t nal_type; - size = BE_32(buf); + size = AV_RB32(buf); nal_type = buf[4] & 0x1f; if (nal_type == 7) { /* SPS */ sps = buf + 4;