Clément Bœsch
8d51d10eb8
lavc/samidec: properly raise errors from sami_paragraph_to_ass()
7 years ago
Pan Bian
61bbc537ab
avcodec/samidec: check av_strdup() return value
...
In function sami_paragraph_to_ass(), the return value of av_strdup() is
not checked. To avoid potential NULL dereference, the return value
should be checked against NULL.
Signed-off-by: Pan Bian <bianpan2016@163.com>
7 years ago
Michael Niedermayer
983e3fbcc5
avcodec/samidec: Check ff_htmlmarkup_to_ass() return code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
30e7685360
lavc/options: add ass_ro_flush_noop to flags2
9 years ago
Clément Bœsch
2941282124
lavc: allow subtitle text format to be ASS without timing
9 years ago
Clément Bœsch
db18b3d6e6
avcodec/samidec: small indent fix
10 years ago
Yayoi
87f90be4f2
avcodec/samidec: use ff_htmlmarkup_to_ass()
...
Signed-off-by: Clément Bœsch <u@pkh.me>
10 years ago
Clément Bœsch
70082a1e53
avcodec/samidec: make sure to properly restore parsing context after a tag
10 years ago
Clément Bœsch
c669af0f24
avcodec/ass: add ASS trailing \r\n in one single place
11 years ago
Clément Bœsch
3d25869605
avcodec/ass: assume raw=0 in ff_ass_add_rect_bprint
11 years ago
Clément Bœsch
6a65da3a18
avcodec/samidec: add some memory checks
11 years ago
Reimar Döffinger
88d55b827d
Remove incorrect use of ctype.h functions.
...
As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years ago
Clément Bœsch
53640f42be
SAMI demuxer and decoder.
13 years ago