Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-23avcodec/ass_split: Change order of operations in ass_split_section()Michael Niedermayer
This matches the other branch Fixes out of array read Fixes: 4d142ca76d39fe685effcf5017098723/asan_heap-oob_31ae824_8611_348fdb64f9009b63c8a8eae9a0e497c5.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ae514b1254318ae5e76be2c17055f14b4084ccf0) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-12ass_split: reindentRodger Combs
2016-09-12ass_split: fix handling of streams with no [Events] or Format: lineRodger Combs
2016-02-26lavc: allow subtitle text format to be ASS without timingClément Bœsch
2016-01-20avcodec/ass_split: Fix null pointer dereference in ff_ass_style_get()Michael Niedermayer
Fixes: 55d71971da50365d542ed14b65565fe1/signal_sigsegv_4765a4_8499_f146af090a94f591d6254515c7700ef5.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-13avcodec/ass_split: check ASSSplitContext allocClément Bœsch
2015-01-09avcodec/ass_split: use *alloc_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-15avcodec/ass_split: realign after addition of new fieldsClément Bœsch
2014-10-15avcodec/ass_split: assume default order when "Format:" line is not foundClément Bœsch
Fixes the decoding of the ASS stream in a mkv from a fansub release from Coalgirls.
2014-10-15avcodec/ass_split: extend recognized fields in ASS splitterClément Bœsch
This simplifies the logic for the fix in the next commit.
2013-01-11ass_split: fix out of array access in ass_split()Michael Niedermayer
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-11ass_split: fix out of array accessMichael Niedermayer
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-30lavc/ass_split: check for NULL pointer in ff_ass_split_override_codes().Clément Bœsch
This is consistent with the other ff_ass_split_* functions. It also fixes a crash when trying to split a dialog with text=NULL (which seems to happen when the text of the dialog is empty); basically, this commit fixes crashes when trying to encode an empty text subtitle dialog (see subrip and mov_text encoders). Fixes Ticket2048.
2012-12-14ass_split_section: dont overread arrayMichael Niedermayer
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-16lavc/ass_split: add ff_ prefix to ass_style_get().Clément Bœsch
2012-08-05ass subtitles: Fix valgrind warnings.Philip Langdale
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>
2012-03-07ass_split: accept files with only \n and no \r.Nicolas George
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.
2011-03-28add SubRip encoderAurelien Jacobs
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>