diff options
author | Dr.Smile <vabnick@gmail.com> | 2019-07-14 02:27:15 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2019-09-26 03:18:29 +0300 |
commit | 2ed1760c88f348a72199aefd58ab3ff5ce06a35d (patch) | |
tree | 7731eff7cde8222716379d09fed7667d16316f99 /libass/ass_bitmap.c | |
parent | df7c00c95ec6e526bf85e6bc8296eaca66f5db8d (diff) | |
download | libass-2ed1760c88f348a72199aefd58ab3ff5ce06a35d.tar.bz2 libass-2ed1760c88f348a72199aefd58ab3ff5ce06a35d.tar.xz |
renderer: fix incorrect deallocation
shift_event() can change "bitmap" field of ASS_Image struct
so direct deallocation is no longer possible.
This commit introduces additional field "buffer"
into ASS_ImagePriv for that purpose.
Fixes https://github.com/libass/libass/issues/310.
Diffstat (limited to 'libass/ass_bitmap.c')
0 files changed, 0 insertions, 0 deletions