HLS (httplive.c): fix Peek() function
The new Peek() function now allocates a block (p_sys->peeked) if the
required size (i_peek) is greater than the size of the playback
segment, and then do a copy of one (or several) segment's data block(s) in it.
In the end, p_sys->peeked might be the concatenation of several segment's data
blocks, but usually it will be NULL.
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Showing
Please register or sign in to comment