diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2012-10-30 17:36:41 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-31 22:37:48 +0100 |
commit | 1ad5f3f0a40e1f1df82a2ea10efd8d074825b151 (patch) | |
tree | 261ee70238531ab503556967c8f073ef64fbfeb3 /TOOLS/osxbundle | |
parent | 3bebbe066d06ee276c063c897805ebdc8b2825a4 (diff) | |
download | mpv-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 'TOOLS/osxbundle')
0 files changed, 0 insertions, 0 deletions