1. 31 Oct, 2016 2 commits
    • François Cartegnie's avatar
      demux: mp4: set discontinuity on edit list change · 7b52601d
      François Cartegnie authored
      fixes timestamp conversion errors using avcodec
      refs samples/mov/editlist/menace00.mov
      7b52601d
    • Rémi Denis-Courmont's avatar
      stream: assert that read size is well defined · 3bf8a8ec
      Rémi Denis-Courmont authored
      The result of a read operation is a signed size_t, and cannot be
      negative (except on error). Thus reading more than SSIZE_MAX bytes at
      once is not well defined.
      
      (Note: POSIX marks it as implementation-defined, and we cannot rely on
       much given the different implementations.)
      
      In practice, this is not really a limitation for regular reads as
      allocating a contiguous output buffer of more than SSIZE_MAX bytes is
      essentially impossible. It can however be a problem when skipping data
      (buffer pointer is NULL), especially on 32-bits platforms.
      
      To skip such large amount of data, seeking is recommended instead,
      e.g.:
      
          vlc_stream_Seek(s, vlc_stream_Tell() + skip);
      
      instead of:
      
          vlc_stream_Read(s, NULL, skip);
      3bf8a8ec
  2. 30 Oct, 2016 18 commits
  3. 29 Oct, 2016 3 commits
  4. 28 Oct, 2016 17 commits