rtmpproto: Track last received timestamp
authorUwe L. Korn <uwelk@xhochy.com>
Fri, 17 Oct 2014 14:30:46 +0000 (16:30 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 17 Oct 2014 20:13:37 +0000 (23:13 +0300)
commitf4cd8b80b9cb2a9a4112d8abb1d3b93cd3b4e467
treebe10e2e295954ef2c041df2e642e3767c17b203a
parentbae557edcea996328e8ff48b9e074a4210f7e6b4
rtmpproto: Track last received timestamp

Some RTMP commands need the most recent timestamp as their parameter, so
keep track of it. This must be the most recent one and not e.g. the max
received timestamp as it can decrease again through seeking.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c