From: Kostya Shishkov Date: Sat, 30 Jan 2010 08:38:11 +0000 (+0000) Subject: cosmetics: add an empty line between variable declarations and code X-Git-Tag: v0.6~1569 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=09b67cc4bd4e7b587af346cef5eccf786b956674;p=coroid%2Fffmpeg_saccubus.git cosmetics: add an empty line between variable declarations and code Originally committed as revision 21532 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index e243e56da..62193a0a4 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.