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>
Thu, 28 Jan 2016 14:53:54 +0000 (15:53 +0100)
commit6fec0dbd2e155b93b3a59dd03df1b4daeaa73f3b
treec43f06abc482de3d40f3adb55eb89f1d4dcd4d61
parent0dc379cfa66db7684339ef9e6c0bd8aaba64c06a
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