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>
Sat, 30 Jan 2016 23:24:28 +0000 (00:24 +0100)
commit361af0a47cee729387444146a978b6482377d255
tree57cfcd1facb9ffb48fb4478b4bd5427a0694c8d9
parentf71e0b798a5091b98472a2f9a343283134240a31
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