avformat/hls: Use an array instead of stream offset for stream mapping
authorAnssi Hannula <anssi.hannula@iki.fi>
Wed, 27 Jul 2016 20:29:16 +0000 (23:29 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Aug 2016 01:43:50 +0000 (03:43 +0200)
commit309fa24f361f1c9d357f8d152c3b78718d2f870d
treedf4535b6cfe025dd28113d9575773a4e5fff5a26
parent3586c68687035225451f57c4e422673cbe6d4377
avformat/hls: Use an array instead of stream offset for stream mapping

This will be useful when the amount of streams per subdemuxer is not
known at hls_read_header time in a following commit.

(cherry picked from commit 9884f17e343b37aef442fafa05bd0113cdf47087)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/hls.c