This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ff_network_wait_fd_timeout: do not break with timeout < 0
Most code treats timeout < 0 like 0 already Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
390aabb2a1
commit
efa9e6b423
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/network.c
+ 1
- 1
libavformat/network.c
View File
@@ -162,7 +162,7 @@ int ff_network_wait_fd_timeout(int fd, int write, int64_t timeout, AVIOInterrupt
return ret;
if (ff_check_interrupt(int_cb))
return AVERROR_EXIT;
if (timeout) {
if (timeout
> 0
) {
if (!wait_start)
wait_start = av_gettime();
else if (av_gettime() - wait_start > timeout)
Write
Preview
Loading…
Cancel
Save