Re: [FFmpeg-devel] [PATCH] avformat/mov: don't use cur_item_id as array index

2024-03-25 Thread James Almer
On 3/25/2024 11:18 PM, Michael Niedermayer wrote: On Mon, Mar 25, 2024 at 10:28:52PM -0300, James Almer wrote: Signed-off-by: James Almer --- libavformat/mov.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) havnt tested, but it improves the code, so definityl LGTM

Re: [FFmpeg-devel] [PATCH] avformat/mov: don't use cur_item_id as array index

2024-03-25 Thread Michael Niedermayer
On Mon, Mar 25, 2024 at 10:28:52PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/mov.c | 16 ++-- > 1 file changed, 6 insertions(+), 10 deletions(-) havnt tested, but it improves the code, so definityl LGTM thx [...] -- Michael GnuPG fingerprint: 9

[FFmpeg-devel] [PATCH] avformat/mov: don't use cur_item_id as array index

2024-03-25 Thread James Almer
Signed-off-by: James Almer --- libavformat/mov.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f954b924a0..9f2ea97a5b 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -8085,7 +8085,6 @@ static int mov_rea