liveHTTP: use calloc to ensure correct initiliazation of members
commit4de6f1cd6a24a504bdcf2f54e12ceb84b242d5d3
authorLANGLOIS Olivier PIS -EXT <olivier.pis.langlois@transport.alstom.com>
Tue, 1 Oct 2013 22:11:41 +0000 (1 22:11 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 3 Nov 2013 17:40:12 +0000 (3 18:40 +0100)
tree35a9aef16e67f606f17c01ffea70e87b9204f62e
parenta815f81c595866d55a19351d16215d81c6a783fa
liveHTTP: use calloc to ensure correct initiliazation of members

Sometimes, f_seglen ended up being garbage and resulted to a very long duration for the first segment in the m3u8 index file

Signed-off-by: Olivier Langlois olivier@trillion01.com
Acked-by: Ilkka Ollakka <ileoo@videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access_output/livehttp.c