diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2010-08-29 10:20:18 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-08-29 10:20:18 +0000 |
commit | 682d28a965c859a8826c1b52c3437a6a0c4ab59f (patch) | |
tree | 1760d3e3056f472e8a62630472c0044a7caa6783 /libavformat | |
parent | ff328c02251b9be704b00fb5e8f1031a25be74a5 (diff) | |
download | ffmpeg-682d28a965c859a8826c1b52c3437a6a0c4ab59f.tar.gz |
Reindent
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24964 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 8a67de7398..25fe5a73f8 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -84,10 +84,10 @@ static int rtcp_parse_packet(RTPDemuxContext *s, const unsigned char *buf, int l } 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; |