Author | SHA1 | Message | Date |
---|---|---|---|
|
50b4dbf65a |
ass subtitles: Fix valgrind warnings.
We're now running some of this code through valgrind for the first time, and a few warnings showed up stemming from two problems. 1) The ASS code assumes the subtitle header is null terminated, but it wasn't, and passing the size down doesn't look like fun, so I added a terminator 2) The code wasn't freeing all of its state. Signed-off-by: Philip Langdale <philipl@overt.org> |
12 years ago |
|
c088b7f389 |
ass_split: accept files with only \n and no \r.
The +1 is there to skip the ','. With \r\n, the +1 skips the \r but that is ok. With only \n, the +1 skips it and all hell breaks loose. |
13 years ago |
|
8e43b6fed9 |
add SubRip encoder
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> |
14 years ago |