avformat/webmdashenc: Check id in adaption_sets
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Feb 2019 09:15:04 +0000 (10:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Mar 2019 23:24:44 +0000 (00:24 +0100)
commit339f40f6181849bb9ecbc8ebffd88b2006e60c8d
tree19089aa958d509a5054f8c0efa83481e26f9c053
parentec22b46a4d34e8d01a2bb69335680c2d84fb26b9
avformat/webmdashenc: Check id in adaption_sets

Fixes: out of array access

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