Mercurial > libavformat.hg
changeset 6422:cb5f5fc848b0 libavformat
Reindent
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Sun, 29 Aug 2010 10:20:18 +0000 |
parents | 6bb1bf74f9ce |
children | 2685bf2b0b78 |
files | rtpdec.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rtpdec.c Sun Aug 29 10:19:44 2010 +0000 +++ b/rtpdec.c Sun Aug 29 10:20:18 2010 +0000 @@ -84,10 +84,10 @@ } payload_len = (AV_RB16(buf + 2) + 1) * 4; - s->last_rtcp_ntp_time = AV_RB64(buf + 8); - if (s->first_rtcp_ntp_time == AV_NOPTS_VALUE) - s->first_rtcp_ntp_time = s->last_rtcp_ntp_time; - s->last_rtcp_timestamp = AV_RB32(buf + 16); + s->last_rtcp_ntp_time = AV_RB64(buf + 8); + if (s->first_rtcp_ntp_time == AV_NOPTS_VALUE) + s->first_rtcp_ntp_time = s->last_rtcp_ntp_time; + s->last_rtcp_timestamp = AV_RB32(buf + 16); buf += payload_len; len -= payload_len;