Re: [FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-24 Thread Michael Niedermayer
On Thu, Dec 24, 2020 at 04:27:19AM +, Jeremy Leconte wrote: > Great news that the patch is accepted. > Just updated the author is this version. > Thanks! > --- > libswscale/slice.c| 12 > libswscale/swscale_unscaled.c | 4 +--- > 2 files changed, 5 insertions(+), 11

[FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-23 Thread Jeremy Leconte
Great news that the patch is accepted. Just updated the author is this version. Thanks! --- libswscale/slice.c| 12 libswscale/swscale_unscaled.c | 4 +--- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/libswscale/slice.c b/libswscale/slice.c index

Re: [FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-23 Thread Jeremy Leconte
On Wed, Dec 23, 2020 at 10:14 PM Michael Niedermayer wrote: > patch should be ok, is the author intended to be like this: > Author: jleconte > I mean theres no full name in there > That's great news! If it's ok on your side, I'm good with the author being 'jleconte'.

Re: [FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-23 Thread Michael Niedermayer
On Tue, Dec 22, 2020 at 09:39:38AM +, jleconte wrote: > Thanks for the feedback. > It's not easy to work with -Wdeclaration-after-statement. patch should be ok, is the author intended to be like this: Author: jleconte I mean theres no full name in there Iam asking as this cannot be changed

[FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-22 Thread jleconte
Thanks for the feedback. It's not easy to work with -Wdeclaration-after-statement. --- libswscale/slice.c| 12 libswscale/swscale_unscaled.c | 4 +--- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/libswscale/slice.c b/libswscale/slice.c index

Re: [FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-21 Thread Michael Niedermayer
On Mon, Dec 21, 2020 at 01:52:08PM +, jleconte wrote: > --- > libswscale/slice.c| 12 +--- > libswscale/swscale_unscaled.c | 5 +++-- > 2 files changed, 8 insertions(+), 9 deletions(-) > > diff --git a/libswscale/slice.c b/libswscale/slice.c > index

[FFmpeg-devel] [PATCH] libswscale: avoid UB nullptr-with-offset.

2020-12-21 Thread jleconte
--- libswscale/slice.c| 12 +--- libswscale/swscale_unscaled.c | 5 +++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/libswscale/slice.c b/libswscale/slice.c index 7849b70f4d..b1cfc0e506 100644 --- a/libswscale/slice.c +++ b/libswscale/slice.c @@ -158,14