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>
Sat, 13 May 2017 22:21:49 +0000 (00:21 +0200)
commit9eb0d76e25c6a7c7ee18f8895fa73338697851f6
treedbba338a020fda177500f1551dafb757d8417065
parent508e410d348e598bdd1624e1fb685c123222dc4e
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