summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-18 21:36:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-18 21:36:46 +0200
commit29119aff6cc7ebe6d3f46cc11cf91aaa4f37904b (patch)
treebb18645d9cb88a670f3fb980cdcf4478142cf564
parent2dbda9378c1e60d9f8b11ca0d1b3113a01e39742 (diff)
parent746ad4e0df7faf93329804e412ec53c1d929a75b (diff)
downloadffmpeg-29119aff6cc7ebe6d3f46cc11cf91aaa4f37904b.tar.gz
Merge commit '746ad4e0df7faf93329804e412ec53c1d929a75b'
* commit '746ad4e0df7faf93329804e412ec53c1d929a75b': dct-test: Improve CPU flags struct member name Conflicts: libavcodec/dct-test.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-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 8c72a95202..451fc6c780 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, TRANSPOSE_PERM } format;
- int mm_support;
+ int cpu_flag;
int nonspec;
};
@@ -572,7 +572,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, bits);
}
}