avformat/mpegts: add missing null pointer checks in ff_parse_mpeg2_descriptor()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Aug 2018 11:33:40 +0000 (13:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Aug 2018 19:50:17 +0000 (21:50 +0200)
commit323095a6db670041f3c98724c0e9c4a494c55bb9
tree5f6c390aa6c3d5b91dede6943fd7cc22a5e1c929
parentc9222b972d6cbdaf6571cf7ae0a6513bffa5ff9f
avformat/mpegts: add missing null pointer checks in ff_parse_mpeg2_descriptor()

Fixes: null pointer dereference
Fixes: wtv-crash-75fa58662ded1c1d349f3d1df89394fd690cf92f

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