Skip to content
  • Filip Roséen's avatar
    stream_filter/cache_block: fix premature EOF · f6a24478
    Filip Roséen authored and Thomas Guillem's avatar Thomas Guillem committed
    
    
    AStreamReadBlock would potentially return 0 because the current data block
    (denoted by "p_sys->p_current") was exhausted, even though there might be more
    data in the next data block ("p_sys->p_current->p_next").
    
    At the place where this patch apply, `p_sys->p_current` has been set to
    `p_sys->p_current->p_next`, so the pointer denotes the next block to
    process (even though the name is rather misleading at that point).
    
    Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
    f6a24478