avformat/rmdec: Do not pass mime type in rm_read_multi() to ff_rm_read_mdpr_codecdata()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 19:37:46 +0000 (21:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Jul 2018 17:52:42 +0000 (19:52 +0200)
commita7e032a277452366771951e29fd0bf2bd5c029f0
treea011d2b9994e60dfa6dcefbe8571aa2e59696831
parent2b46ebdbff1d8dec7a3d8ea280a612b91a582869
avformat/rmdec: Do not pass mime type in rm_read_multi() to ff_rm_read_mdpr_codecdata()

Fixes: use after free()
Fixes: rmdec-crash-ffe85b4cab1597d1cfea6955705e53f1f5c8a362

Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rmdec.c