[SCM] libav/experimental: dct-test: Improve CPU flags struct member name
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:53 UTC 2014
The following commit has been merged in the experimental branch:
commit 746ad4e0df7faf93329804e412ec53c1d929a75b
Author: Diego Biurrun <diego at biurrun.de>
Date: Tue Feb 18 11:58:57 2014 +0100
dct-test: Improve CPU flags struct member name
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 4e67024..4c64a86 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);
}
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list