summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/tx.c b/libavutil/tx.c
index 5c1ac20c92..2897f3bd35 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -496,7 +496,8 @@ av_cold int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type,
continue;
/* Check if the CPU supports the required ISA */
- if (!(!cd->cpu_flags || (cpu_flags & (cd->cpu_flags & ~slow_mask))))
+ if (cd->cpu_flags != FF_TX_CPU_FLAGS_ALL &&
+ !(cpu_flags & (cd->cpu_flags & ~slow_mask)))
continue;
/* Check for factors */