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>
Sun, 14 May 2017 10:20:15 +0000 (12:20 +0200)
commit1485562f6edee18a44446a8cbf2dca7ec16b69ce
tree251bef815ab58a5347fda72eb81a6e63d4f52bf4
parentbb61a312234003f49ad0a2bc84faccfff7f246d4
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