aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmad/layer3.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-12 02:34:23 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-12 02:34:23 +0000
commitdb2f8439952c771ca1d560df9057c81ed4ca8293 (patch)
treedf8d803cbaa01c62eba4907fb17e528beaf104ed /src/libmad/layer3.c
parentd8d6b949c6e6ed8f59d8436054bbc10a941305b5 (diff)
downloadmpd-db2f8439952c771ca1d560df9057c81ed4ca8293.tar.gz
mpd-db2f8439952c771ca1d560df9057c81ed4ca8293.tar.xz
mpd-db2f8439952c771ca1d560df9057c81ed4ca8293.zip
OSS: correctly check for the device in oss_testDefault()
open(2) returns -1 on error (if the device does not exist), and -1 is true. Also, put shank's name in the copyright header since half the code is his (including this bug :P). git-svn-id: https://svn.musicpd.org/mpd/trunk@4310 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/libmad/layer3.c')
0 files changed, 0 insertions, 0 deletions