diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-24 12:40:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-24 12:40:36 +0200 |
commit | 2c5ae57776907142b78243cbf502be6f5370ca87 (patch) | |
tree | 3e718a04eda5858347982e572c13e384d1c52a16 /libavformat/rtspdec.c | |
parent | 2896b981830ec5835732c044a2f6c606ee9fd5e6 (diff) | |
parent | 6df9d9b55d3f56ee7782639a7678eeeaf77f14ea (diff) | |
download | ffmpeg-2c5ae57776907142b78243cbf502be6f5370ca87.tar.gz |
Merge commit '6df9d9b55d3f56ee7782639a7678eeeaf77f14ea'
* commit '6df9d9b55d3f56ee7782639a7678eeeaf77f14ea':
lavf: Use av_gettime_relative
Conflicts:
libavformat/hls.c
See: f78bc96b7c1c74caf99a7139cf81ce1110404965
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r-- | libavformat/rtspdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index cad8de32c0..fa7383c734 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -887,7 +887,7 @@ retry: if (!(rt->rtsp_flags & RTSP_FLAG_LISTEN)) { /* send dummy request to keep TCP connection alive */ - if ((av_gettime() - rt->last_cmd_time) / 1000000 >= rt->timeout / 2 || + if ((av_gettime_relative() - rt->last_cmd_time) / 1000000 >= rt->timeout / 2 || rt->auth_state.stale) { if (rt->server_type == RTSP_SERVER_WMS || (rt->server_type != RTSP_SERVER_REAL && |