Re: [FFmpeg-devel] [PATCH] cmdutils: simplify opt_cpucount()

2021-07-17 Thread Michael Niedermayer
On Fri, Jul 16, 2021 at 09:26:16PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > fftools/cmdutils.c | 27 +++ > 1 file changed, 7 insertions(+), 20 deletions(-) Posted an alternative patch which goes the opposit direction and make use of the features of t

[FFmpeg-devel] [PATCH] cmdutils: simplify opt_cpucount()

2021-07-16 Thread James Almer
Signed-off-by: James Almer --- fftools/cmdutils.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 6e875104fd..a3b6b78d50 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -856,28 +856,15 @@ in