libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)
authorColin NG <colin_ng@hotmail.com>
Sun, 21 Jan 2018 05:35:30 +0000 (13:35 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 21 Jan 2018 05:35:30 +0000 (13:35 +0800)
commit7a63da891023767824af75ff1c9fe681c156ac19
tree93e25989ead46d3ae42f941acdcb6762759c3f65
parent8db4ef3e6d9377d131e7051dcebf41fa6cc9ac81
libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

1 Add function 'resolve_content_path' to propagate the baseURL from
upper level nodes.
 * if no baseURL is available, the path of mpd file will be set as the baseURL.
2 Remove checking for newly established connection.
3 Establish the communication protocol in each connection rather than
 applying one protocol to all connection.
libavformat/dashdec.c