Fixed stupid bug relating to multiple cards on athlons

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7946 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch
2002-10-28 17:08:37 +00:00
parent ba37db1370
commit a64160a3bd
+5 -2
View File
@@ -6,6 +6,9 @@
*/
/* ChangeLog added 2002-01-10
* 2002-10-28:
* Fixed multicard bug on athlons
*
* 2002-07-18:
* Disabled spuenc support, this is still not stable enough =(
*
@@ -541,7 +544,7 @@ static uint32_t preinit(const char *arg)
}
/* Open the video interface */
if (arg && !noprebuf) {
if (arg && arg[0]) {
sprintf(devname, "/dev/em8300_mv-%s", arg);
} else {
/* Try new naming scheme by default */
@@ -565,7 +568,7 @@ static uint32_t preinit(const char *arg)
/* Open the subpicture interface */
fdflags |= O_NONBLOCK;
if (arg && !noprebuf) {
if (arg && arg[0]) {
sprintf(devname, "/dev/em8300_sp-%s", arg);
} else {
/* Try new naming scheme by default */