Fixed bug in Athlon detection code ;)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5311 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2002-03-24 18:01:08 +00:00
parent eb89d8effe
commit 7bb3412a05
1 changed files with 3 additions and 1 deletions

View File

@ -515,9 +515,11 @@ static uint32_t preinit(const char *arg)
{
char devname[80];
int fdflags = O_WRONLY;
CpuCaps cpucaps;
GetCpuCaps(&cpucaps);
/* Open the control interface */
if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
if ((arg && !strcmp("noprebuf", arg)) || cpucaps.has3DNowExt) {
printf("VO: [dxr3] Disabling prebuffering.\n");
noprebuf = 1;
fdflags |= O_NONBLOCK;