summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-24 22:36:37 +0300
committerMartin Storsjö <martin@martin.st>2012-06-30 15:17:52 +0300
commit71078ad3338d850a24071e93b69d2109a943f73e (patch)
tree300a2a8e4ea85075a6beb6f5205b62a054b2848e /libavformat/os_support.h
parent5aff37d28d6a140f70f6cae996e6f55b21b1106d (diff)
os_support: Don't compare a negative number against socket descriptors
The fds are unsigned integers in the windows definition of struct sockfds. Due to this, the comparison if (fds[i].fd > n) was always false. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/os_support.h')
0 files changed, 0 insertions, 0 deletions