Re: [FFmpeg-devel] [PATCH 1/1] bug: test pointer to be used.

2021-01-11 Thread James Almer
On 1/4/2021 3:11 PM, AlexisWilke wrote: Two tests check the opposite pointer before using it. If only one of these is set to a valid pointer, one of these functions will crash, the other will ignore the pointer. --- libavformat/allformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

[FFmpeg-devel] [PATCH 1/1] bug: test pointer to be used.

2021-01-04 Thread AlexisWilke
Two tests check the opposite pointer before using it. If only one of these is set to a valid pointer, one of these functions will crash, the other will ignore the pointer. --- libavformat/allformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/allformats.c