[SCM] libav/experimental: Reindent after last commit
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:24:37 UTC 2013
The following commit has been merged in the experimental branch:
commit fba7815d8d8b122c7e3cdef83df642b83cfce292
Author: Luca Abeni <lucabe72 at email.it>
Date: Wed Jul 2 10:26:23 2008 +0000
Reindent after last commit
Originally committed as revision 14046 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 3fa1a4a..608612b 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -365,16 +365,16 @@ static int rtp_parse_mp4_au(RTPDemuxContext *s, const uint8_t *buf)
*/
static void finalize_packet(RTPDemuxContext *s, AVPacket *pkt, uint32_t timestamp)
{
- if (s->last_rtcp_ntp_time != AV_NOPTS_VALUE) {
- int64_t addend;
-
- int delta_timestamp;
- /* compute pts from timestamp with received ntp_time */
- delta_timestamp = timestamp - s->last_rtcp_timestamp;
- /* convert to the PTS timebase */
- addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
- pkt->pts = addend + delta_timestamp;
- }
+ if (s->last_rtcp_ntp_time != AV_NOPTS_VALUE) {
+ int64_t addend;
+ int delta_timestamp;
+
+ /* compute pts from timestamp with received ntp_time */
+ delta_timestamp = timestamp - s->last_rtcp_timestamp;
+ /* convert to the PTS timebase */
+ addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
+ pkt->pts = addend + delta_timestamp;
+ }
pkt->stream_index = s->st->index;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list