1 #include "mpeg3private.h"
2 #include "mpeg3protos.h"
11 char string
[MPEG3_STRLEN
];
15 if(!(proc
= fopen(MPEG3_PROC_CPUINFO
, "r")))
17 fprintf(stderr
, "mpeg3_mmx_test: failed to open /proc/cpuinfo\n");
23 fgets(string
, MPEG3_STRLEN
, proc
);
24 /* Got the flags line */
25 if(!strncasecmp(string
, "flags", 5))
28 needle
= strstr(string
, "mmx");
34 if(!strncasecmp(needle
, "mmx", 3))