Skip to content
  • Sebastian Dröge's avatar
    wavparse: Don't play anything after the end of the data chunk even when seeking · 7927f49c
    Sebastian Dröge authored
    Especially in push mode we would completely ignore the size of the data chunk
    when not stop position is given for the seek. Instead make sure that the end
    offset is at most the end of the data chunk if known.
    
    Without this we would output anything after the data chunk, possibly causing
    loud noises if the media file is followed by an INFO chunk or an ID3 tag.
    7927f49c