[FFmpeg-cvslog] r24964 - trunk/libavformat/rtpdec.c
mstorsjo
subversion
Sun Aug 29 12:20:18 CEST 2010
Author: mstorsjo
Date: Sun Aug 29 12:20:18 2010
New Revision: 24964
Log:
Reindent
Patch by Josh Allmann, joshua dot allmann at gmail
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Sun Aug 29 12:19:44 2010 (r24963)
+++ trunk/libavformat/rtpdec.c Sun Aug 29 12:20:18 2010 (r24964)
@@ -84,10 +84,10 @@ static int rtcp_parse_packet(RTPDemuxCon
}
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;
More information about the ffmpeg-cvslog
mailing list