Re: [FFmpeg-devel] [PATCH] libavutil/opt: Small changes in example.

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 09:43:06PM +0200, Kacper Michajłow wrote: > Fix const corectness and zero init the struct. This example code would > actually crash when initializing string. > --- > libavutil/opt.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thx [...] -- Michae

[FFmpeg-devel] [PATCH] libavutil/opt: Small changes in example.

2016-07-23 Thread Kacper Michajłow
Fix const corectness and zero init the struct. This example code would actually crash when initializing string. --- libavutil/opt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index 9a76a47..9430b98 100644 --- a/libavutil/opt.h +++ b/l