Mercurial > libavformat.hg
comparison rtp.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 | 92afee454599 |
children | 1f7a6dc01100 |
comparison
equal
deleted
inserted
replaced
1672:818eafa8fc95 | 1673:a782462e2497 |
---|---|
502 if (infos == NULL) | 502 if (infos == NULL) |
503 return -1; | 503 return -1; |
504 | 504 |
505 /* decode the first 2 bytes where are stored the AUHeader sections | 505 /* decode the first 2 bytes where are stored the AUHeader sections |
506 length in bits */ | 506 length in bits */ |
507 au_headers_length = BE_16(buf); | 507 au_headers_length = AV_RB16(buf); |
508 | 508 |
509 if (au_headers_length > RTP_MAX_PACKET_LENGTH) | 509 if (au_headers_length > RTP_MAX_PACKET_LENGTH) |
510 return -1; | 510 return -1; |
511 | 511 |
512 infos->au_headers_length_bytes = (au_headers_length + 7) / 8; | 512 infos->au_headers_length_bytes = (au_headers_length + 7) / 8; |