projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf3168
)
cosmetics: add an empty line between variable declarations and code
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 30 Jan 2010 08:38:11 +0000
(08:38 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sat, 30 Jan 2010 08:38:11 +0000
(08:38 +0000)
Originally committed as revision 21532 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtmppkt.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmppkt.c
b/libavformat/rtmppkt.c
index
e243e56
..
62193a0
100644
(file)
--- 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.