Skip to content
  • Jan Schmidt's avatar
    mpegdemux: Fix backward timestamp scan on small files. · e3b554f0
    Jan Schmidt authored
    When the file size is smaller than the configured 4MB scan
    limit for timestamps, don't underflow the guard variable
    when checking if it's time to stop.
    
    Limit the backward SCR scan to the same 4MB as the PTS scan.
    
    Add some comments.
    e3b554f0