ffmpeg | branch: master | Lynne <d...@lynne.ee> | Thu Jan 27 01:52:02 2022 +0100| [008c131d681a764cc77ab3713ab97efd279fcbcc] | committer: Lynne
lavu/tx: clean up CPU flags check Just makes it more readable. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=008c131d681a764cc77ab3713ab97efd279fcbcc --- libavutil/tx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".