Re: [FFmpeg-devel] [PATCH] avformat/nutenc: Fix indentation

2024-02-06 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Forgotten after 82beb46e65e5f820b187355bf757725c22a59c45. > Also use loop-scope for iterators while at it. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/nutenc.c | 30 +++--- > 1 file changed, 15 insertions(+), 15 deletions(-) > > diff -

Re: [FFmpeg-devel] [PATCH] avformat/nutenc: Fix indentation

2024-02-04 Thread Anton Khirnov
Quoting Leo Izen (2024-02-04 08:20:55) > > If we're changing this block of code anyway, could we possibly replace > this line: > > if ((ret = ff_nut_add_sp(nut, nut->last_syncpoint_pos, 0 > /*unused*/, pkt->dts)) < 0) > goto fail; > > With something like this? >

Re: [FFmpeg-devel] [PATCH] avformat/nutenc: Fix indentation

2024-02-03 Thread Leo Izen
On 2/3/24 14:20, Andreas Rheinhardt wrote: Forgotten after 82beb46e65e5f820b187355bf757725c22a59c45. Also use loop-scope for iterators while at it. Signed-off-by: Andreas Rheinhardt --- libavformat/nutenc.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-

[FFmpeg-devel] [PATCH] avformat/nutenc: Fix indentation

2024-02-03 Thread Andreas Rheinhardt
Forgotten after 82beb46e65e5f820b187355bf757725c22a59c45. Also use loop-scope for iterators while at it. Signed-off-by: Andreas Rheinhardt --- libavformat/nutenc.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libavformat/nutenc.c b/libavfor