Mercurial > libavformat.hg
diff rtmppkt.c @ 5603:8efa6bc0752e libavformat
cosmetics: add an empty line between variable declarations and code
| author | kostya |
|---|---|
| date | Sat, 30 Jan 2010 08:38:11 +0000 |
| parents | c00ff770b4fc |
| children | 81b2509db2ad |
line wrap: on
line diff
--- a/rtmppkt.c Fri Jan 29 06:38:00 2010 +0000 +++ b/rtmppkt.c Sat Jan 30 08:38:11 2010 +0000 @@ -153,6 +153,7 @@ 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.
