Re: [FFmpeg-devel] [PATCH 2/4] avcodec/vp3: Check allocations of VLCs

2020-10-20 Thread Andreas Rheinhardt
Peter Ross: > On Tue, Oct 20, 2020 at 09:53:53AM +0200, Andreas Rheinhardt wrote: >> It would lead to crashs lateron if they failed. > > did you find these automatically? > > have previously used this tool tool to find such errors: > https://github.com/ralight/mallocfail > No, I just look at t

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/vp3: Check allocations of VLCs

2020-10-20 Thread Peter Ross
On Tue, Oct 20, 2020 at 09:53:53AM +0200, Andreas Rheinhardt wrote: > It would lead to crashs lateron if they failed. did you find these automatically? have previously used this tool tool to find such errors: https://github.com/ralight/mallocfail > > Signed-off-by: Andreas Rheinhardt > --- >

[FFmpeg-devel] [PATCH 2/4] avcodec/vp3: Check allocations of VLCs

2020-10-20 Thread Andreas Rheinhardt
It would lead to crashs lateron if they failed. Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3.c | 112 +++ 1 file changed, 64 insertions(+), 48 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 0d8d1ff80f..7ee65c8062 100644 --