Skip to content
  • Frédéric Yhuel's avatar
    HLS (httplive.c): fix Peek() function · cade3d99
    Frédéric Yhuel authored and Jean-Paul Saman's avatar Jean-Paul Saman committed
    
    
    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: default avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
    cade3d99