diff options
author | Jan Ekström <jeebjp@gmail.com> | 2019-02-11 01:54:26 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-02-12 20:16:40 +0200 |
commit | 4beccf400df3d9f319a977d4c4a37c926e7a3f8d (patch) | |
tree | 2ca22677699f791b737844ededcafd52c742f9f1 /tests | |
parent | 84e7aff60816d8f491194a9d96d906c39ad052db (diff) | |
download | ffmpeg-4beccf400df3d9f319a977d4c4a37c926e7a3f8d.tar.gz |
lavc/libaribb24: add error handling to region handling
Fixes some rather embarrassing mistakes that somehow passed my
eyes.
* Now catches if memory allocation has failed during bprint usage
by checking av_bprint_is_complete().
* Now catches if adding an ASS rectangle into an AVSubtitle failed.
* Returns AVERROR_INVALIDDATA if we get an invalid region buffer
length.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions