Re: [FFmpeg-devel] [PATCH] avformat/vapoursynth: properly initialize err variable in read_header_vs()

2019-01-04 Thread Michael Niedermayer
On Fri, Jan 04, 2019 at 02:17:02AM +0900, nu774 wrote: > The variable "err" is not initialized, and set only when something went wrong. > When everything is OK, nobody sets it, so using it result in UB. > --- > libavformat/vapoursynth.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

[FFmpeg-devel] [PATCH] avformat/vapoursynth: properly initialize err variable in read_header_vs()

2019-01-03 Thread nu774
The variable "err" is not initialized, and set only when something went wrong. When everything is OK, nobody sets it, so using it result in UB. --- libavformat/vapoursynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/vapoursynth.c b/libavformat/vapoursynth.c