avutil/opt: check for and handle errors in av_opt_set_dict2()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Jan 2016 02:42:46 +0000 (03:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 1 Feb 2016 01:12:22 +0000 (02:12 +0100)
commit9a1433683cf30ddb163ded30bdb1c59759a8f07f
tree34ba02fa9799b766aaf60109e562824e6a1f46d4
parentac8a265be81a58698c9f4641807ab8b6eb721b93
avutil/opt: check for and handle errors in av_opt_set_dict2()

Previously errors could result in random entries to be lost.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f3ace85d8869c3dddd2d28d064002d0d912e3624)

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