Re: [FFmpeg-devel] [PATCH 2/2] lavd/opengl_enc: check strings before parsing them.

2020-02-20 Thread Nicolas George
Mark Thompson (12020-02-19): > I'd make the error more direct, since this is to be seen by a > developer messing up - it's that there is no OpenGL context current on > the calling thread. Thanks. I changed the message according to that and pushed both patches. Regards, -- Nicolas George sig

Re: [FFmpeg-devel] [PATCH 2/2] lavd/opengl_enc: check strings before parsing them.

2020-02-19 Thread Mark Thompson
On 17/02/2020 12:50, Nicolas George wrote: > Fix a segfault if OpenGL was not initialized before calling > write_header(). > > Signed-off-by: Nicolas George > --- > libavdevice/opengl_enc.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavdevice/opengl_enc.c b/libavdevice/openg

[FFmpeg-devel] [PATCH 2/2] lavd/opengl_enc: check strings before parsing them.

2020-02-17 Thread Nicolas George
Fix a segfault if OpenGL was not initialized before calling write_header(). Signed-off-by: Nicolas George --- libavdevice/opengl_enc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c index fa94345a7c..3d60f7d068 100644 --- a/libavdevice