summaryrefslogtreecommitdiff
path: root/libavformat/sccdec.c
Commit message (Collapse)AuthorAge
* avformat/sccdec: Use larger intermediate for ts/next_ts computationMichael Niedermayer2021-02-02
| | | | | | | | Fixes: signed integer overflow: 92237203 * 33 cannot be represented in type 'int' Fixes: 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_SCC_fuzzer-6603769487949824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/sccdec: Avoid variable that is always zeroAndreas Rheinhardt2020-06-22
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avformat/sccdec: make splitting more robustPaul B Mahol2020-06-18
|
* avformat/sccdec: simplify demuxer a littlePaul B Mahol2020-06-17
|
* avformat/sccdec: unbreak previous commits to this filePaul B Mahol2020-06-15
|
* avformat/sccdec: Fix memleak upon read header failureAndreas Rheinhardt2020-06-15
| | | | | | | The already parsed subtitles (contained in an FFDemuxSubtitlesQueue) would leak if an error happened upon reading a subsequent subtitle. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avformat/sccdec: move pos variables outside of loopPaul B Mahol2020-06-13
| | | | Ensures that sub->pos is always correct.
* avformat/sccdec: split line with multiple subsPaul B Mahol2020-06-13
|
* avformat/sccdec: use av_sscanf() insteadPaul B Mahol2020-02-04
|
* avformat/sccdec: only change duration for last subtitlePaul B Mahol2019-12-23
|
* avformat/sccdec: fix sub->pos valuesPaul B Mahol2019-12-23
|
* avformat/sccdec: fix timestamp of last subtitlePaul B Mahol2019-12-23
| | | | Fixes -c:s copy case.
* avformat/sccdec: remove not needed codePaul B Mahol2019-09-13
|
* avformat/sccdec: display last caption even when there is no empty last linePaul B Mahol2019-06-27
|
* lavf: Constify the probe function argument.Carl Eugen Hoyos2019-03-21
| | | | | Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
* avformat/sccdec: simplify 2 sscanf callsPaul B Mahol2017-01-30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/sccdec: attempt to fix valgrind issuePaul B Mahol2017-01-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: add Scenarist Closed Captions demuxerPaul B Mahol2017-01-25
Fixes #4767. Signed-off-by: Paul B Mahol <onemda@gmail.com>