hlsdemux: avoid using g_list_append for creating segments list
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 7 Jan 2015 12:21:33 +0000 (09:21 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 7 Jan 2015 12:30:40 +0000 (09:30 -0300)
commitc79e8a78acbafb707dc923f4b3688f0593244890
tree5cd28316dcad6430830f9d344b4db617dd597897
parentcd6069f5af03b35fd0182ac9dfac3b4c0eccbe4d
hlsdemux: avoid using g_list_append for creating segments list

Use g_list_prepend and reverse it at the end to skip traversing the
same list for every new segment
ext/hls/m3u8.c