From 09b67cc4bd4e7b587af346cef5eccf786b956674 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 30 Jan 2010 08:38:11 +0000 Subject: [PATCH] cosmetics: add an empty line between variable declarations and code Originally committed as revision 21532 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtmppkt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index e243e56da5..62193a0a44 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -153,6 +153,7 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt, uint8_t pkt_hdr[16], *p = pkt_hdr; int mode = RTMP_PS_TWELVEBYTES; int off = 0; + pkt->ts_delta = pkt->timestamp - prev_pkt[pkt->channel_id].timestamp; //if channel_id = 0, this is first presentation of prev_pkt, send full hdr.