1. 29 Oct, 2014 1 commit
  2. 26 Sep, 2014 1 commit
  3. 05 Sep, 2014 2 commits
  4. 07 Aug, 2014 1 commit
  5. 08 Sep, 2013 2 commits
    • Clément Bœsch's avatar
      avformat/subtitles: add a next line jumper and use it. · 90fc00a6
      Clément Bœsch authored
      This fixes a bunch of possible overread in avformat with the idiom p +=
      strcspn(p, "\n") + 1 (strcspn() can focus on the trailing '\0' if no
      '\n' is found, so the +1 leads to an overread).
      
      Note on lavf/matroskaenc: no extra subtitles.o Makefile dependency is
      added because only the header is required for ff_subtitles_next_line().
      
      Note on lavf/mpsubdec: code gets slightly complex to avoid an infinite
      loop in the probing since there is no more forced increment.
      90fc00a6
    • Clément Bœsch's avatar
      avformat/srtdec: skip initial random line breaks. · cfcd55db
      Clément Bœsch authored
      I found a bunch of (recent) SRT files in the wild with 3 to 10 line
      breaks at the beginning.
      cfcd55db
  6. 14 May, 2013 1 commit
  7. 27 Jan, 2013 1 commit
  8. 02 Jan, 2013 1 commit
  9. 30 Dec, 2012 2 commits
  10. 25 Dec, 2012 1 commit
  11. 20 Dec, 2012 2 commits
  12. 20 Nov, 2012 1 commit
    • Clément Bœsch's avatar
      lavf/srtdec: trim line break event separators from packet. · cc88734c
      Clément Bœsch authored
      The muxer add them automatically, so this avoid having a bunch of line
      breaks all over the output files. One '\n' is still kept/added because
      the lavc subrip decoder seems to have trouble with line ending abruptly
      (it doesn't flush correctly the tags). This bug is harmless but should
      be fixed; though, this doesn't look like a trivial change. When this bug
      gets fixed, we can consider removing the '\n' at the end of the packet.
      
      The 2048B buffer limit was also removed while moving to AVBPrint API.
      Note that this doesn't really matter since the decoder is limited as
      well.
      cc88734c
  13. 05 Nov, 2012 1 commit
  14. 24 Oct, 2012 2 commits
    • Clément Bœsch's avatar
      srt: make the demuxer output SubRip packets. · c27b3816
      Clément Bœsch authored
      The SRT format should never have outputted CODEC_ID_SRT packets in the
      first place: SRT is a subtitle format containing SubRip text markup
      events. The timing information is part of the format, not the codec, and
      thus CODEC_ID_SRT should not exist.
      
      Creating packets with the timing information within the payload only
      leads to problem (such as remuxing with timing alteration not working),
      especially when the SubRip markup is being used in container like
      Matroska in addition to this standalone SRT format.
      
      The main reason the timing line was included in those CODEC_ID_SRT
      packets is likely because it contained extra information (the event
      position) the codec actually needs. This issue is solved by using the
      AV_PKT_DATA_SUBTITLE_POSITION side data type.
      c27b3816
    • Clément Bœsch's avatar
      lavf/srtdec: simplify start/end computation. · a96b39de
      Clément Bœsch authored
      Also fix potential overflow (CID733778)
      a96b39de
  15. 07 Aug, 2012 1 commit
  16. 04 Aug, 2012 1 commit
  17. 30 Jul, 2012 1 commit
  18. 15 Jun, 2012 1 commit
  19. 27 Jan, 2012 1 commit
  20. 30 Nov, 2011 1 commit
  21. 19 Oct, 2011 1 commit
  22. 19 Mar, 2011 1 commit
  23. 07 Mar, 2011 1 commit
  24. 05 Mar, 2011 1 commit
  25. 04 Mar, 2011 1 commit
  26. 28 Jan, 2011 1 commit
  27. 26 Jan, 2011 1 commit
  28. 24 Jul, 2010 1 commit