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>
Sun, 24 Mar 2019 09:39:03 +0000 (10:39 +0100)
commit0213519addc3a367b4c1e8681941b12febcefe7f
treeb8d651b625f0a1f6a6a0ffaa03c8d249fad859a3
parenta0692be43b87b0a346fac585d2b77dcbe418e1d6
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