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>
Thu, 20 Apr 2017 16:07:32 +0000 (18:07 +0200)
commitcbd3a68f3e1c2d1679370301eb5e1a32a2df64fe
tree13c9ea03a71c486b46ae7e8a68c7cbc2952f8bd5
parent0f05f2c7e67949ce77de3cf7013f7d4da1c3e046
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>
libavformat/webmdashenc.c