Re: [FFmpeg-devel] [PATCH 1/8] fftools/ffmpeg: simplify ost_iter()

2022-11-14 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Anton Khirnov > Sent: Monday, November 14, 2022 4:14 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/8] fftools/ffmpeg: simplify > ost_iter() > > The inner loop never goes through

[FFmpeg-devel] [PATCH 1/8] fftools/ffmpeg: simplify ost_iter()

2022-11-14 Thread Anton Khirnov
The inner loop never goes through more than 1 iteration, and so can be replaced by an if(). Found-by: Andreas Rheinhardt --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index e6f6773f6a..0fa2fe8c52 100644 --- a/fftools/f