Skip to content
  • Rémi Denis-Courmont's avatar
    input: fix skipping data in stream-oriented access · f9c09233
    Rémi Denis-Courmont authored
    
    
    Now that stream cache and stream/access wrapper are separated the later
    must handle skipping data (by "reading into" a NULL buffer). This was
    done correctly for block-oriented plugins, but not stream-oriented
    ones. This patch simply adds a dummy buffer to read into in the
    unlikely event that it is needed.
    
    (Typically one of the stream cache plugins takes care of this, so this
    bug was mostly invisible.)
    
    Pointed-out-by: default avatarFilip Roséen <filip@videolabs.io>
    f9c09233