libavutil/opt: Small bugfix in example.
authorKacper Michajłow <kasper93@gmail.com>
Sat, 23 Jul 2016 19:43:06 +0000 (21:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 23 Jul 2016 22:41:15 +0000 (00:41 +0200)
commit69630f4d304a4e35d90957d6a170744af87cbf93
tree24224df205e264ed99c80acb33b8b430ab071d46
parent75bd5d3e2dde249e488f0e72284339e21aefa5c8
libavutil/opt: Small bugfix in example.

Fix const corectness and zero init the struct. This example code would actually crash when initializing string.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/opt.h