Re: [FFmpeg-devel] [PATCH v1] avcodec/libx265: Fix Uninitialized scalar variable

2020-01-13 Thread lance . lmwang
On Mon, Jan 13, 2020 at 04:19:10PM +, Derek Buitenhuis wrote: > On 09/01/2020 10:52, lance.lmw...@gmail.com wrote: > > +default: > > +pict_type = AV_PICTURE_TYPE_NONE; > > Is this ever possible to actually hit in the API, though? > > Maybe more useful to return an error in such a

Re: [FFmpeg-devel] [PATCH v1] avcodec/libx265: Fix Uninitialized scalar variable

2020-01-13 Thread Derek Buitenhuis
On 09/01/2020 10:52, lance.lmw...@gmail.com wrote: > +default: > +pict_type = AV_PICTURE_TYPE_NONE; Is this ever possible to actually hit in the API, though? Maybe more useful to return an error in such a case, since something is really wrong probably? - Derek

[FFmpeg-devel] [PATCH v1] avcodec/libx265: Fix Uninitialized scalar variable

2020-01-09 Thread lance . lmwang
From: Limin Wang Fixes CID 1457234 Signed-off-by: Limin Wang --- libavcodec/libx265.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 9e4711e50b..7f18db92e4 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -549,6 +549,8 @@