aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-18 11:58:57 +0100
committerDiego Biurrun <diego@biurrun.de>2014-07-18 06:14:43 -0700
commit746ad4e0df7faf93329804e412ec53c1d929a75b (patch)
treee2912da315bcd6192ac2a666130a786bd7b83a15
parentcb44b21da1f59923be577f08c267ec270529be97 (diff)
downloadffmpeg-746ad4e0df7faf93329804e412ec53c1d929a75b.tar.gz
dct-test: Improve CPU flags struct member name
-rw-r--r--libavcodec/dct-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 4e670241b5..4c64a861f1 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -62,7 +62,7 @@ struct algo {
void (*func)(int16_t *block);
enum formattag { NO_PERM, MMX_PERM, MMX_SIMPLE_PERM, SCALE_PERM,
SSE2_PERM, PARTTRANS_PERM } format;
- int mm_support;
+ int cpu_flag;
int nonspec;
};
@@ -503,7 +503,7 @@ int main(int argc, char **argv)
const int cpu_flags = av_get_cpu_flags();
const struct algo *algos = test_idct ? idct_tab : fdct_tab;
for (i = 0; algos[i].name; i++)
- if (!(~cpu_flags & algos[i].mm_support)) {
+ if (!(~cpu_flags & algos[i].cpu_flag)) {
err |= dct_error(&algos[i], test, test_idct, speed);
}
}