avformat/rtsp: Check number of streams in sdp_parse_line()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 25 Jan 2019 20:30:04 +0000 (21:30 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 31 Jan 2019 16:33:50 +0000 (17:33 +0100)
commit497c9b0cce559d43607bbbd679fe42f1d7e9040e
tree5b9518debb3e18f7908936d8ae1de82786d2b116
parenta53c4f3689996f6090078f36de32bce1744f395b
avformat/rtsp: Check number of streams in sdp_parse_line()

Fixes: OOM

Found-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Michael Hanselmann <public@hansmi.ch>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rtsp.c