avformat/webmdashenc: Require the 'adaptation_sets' option to be set
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 20 Apr 2017 12:14:42 +0000 (13:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 May 2017 18:35:19 +0000 (20:35 +0200)
commit351dc1f33a65e221172c22d5569de2df2997fe24
tree9f330e477d80f200a86e07e8224b4af416809a41
parent70e26e9c25d3f5d90d88b88563436d68135e257d
avformat/webmdashenc: Require the 'adaptation_sets' option to be set

This seems to be non-optional, and if the muxer is run without it,
strlen() is run on NULL, causing a segfault.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit cbd3a68f3e1c2d1679370301eb5e1a32a2df64fe)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/webmdashenc.c