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:23:46 +0000 (00:23 +0100)
commitb54b8a628c8baa3f599048e4161e7b9bd6f45c85
treed2aa2a1dc612af40586c19407311fa2e66952838
parentd8b37664d524251ac524c780c0f978fb48ce4b2d
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