summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2012-10-30 17:36:41 +0000
committerwm4 <wm4@nowhere>2012-10-31 22:37:48 +0100
commit1ad5f3f0a40e1f1df82a2ea10efd8d074825b151 (patch)
tree261ee70238531ab503556967c8f073ef64fbfeb3 /input/input.c
parent3bebbe066d06ee276c063c897805ebdc8b2825a4 (diff)
downloadmpv-1ad5f3f0a40e1f1df82a2ea10efd8d074825b151.tar.bz2
mpv-1ad5f3f0a40e1f1df82a2ea10efd8d074825b151.tar.xz
ao_oss: make error check slightly more correct
Only a return value of -1 indicates an error for open(), purely theoretically the mixer device could get 0 assigned as file descriptor. Even more theoretically, WinCE uses descriptors with values < 0, though that probably is non-conformant behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35295 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
0 files changed, 0 insertions, 0 deletions