]> granicus.if.org Git - libass/commit
render: clip BorderStyle=4 against screen
authorwm4 <wm4@nowhere>
Wed, 11 Jan 2017 06:10:13 +0000 (07:10 +0100)
committerwm4 <wm4@nowhere>
Wed, 11 Jan 2017 15:58:20 +0000 (16:58 +0100)
commitdec079d312a2dcf73d20446bebd2935e8a6a9e41
treeeafc9cd750e6921f0a7accdc18842a555c7eeb3e
parent3b08a1dcb5be8ef42feafdfcbe6a8be97f9a4a9e
render: clip BorderStyle=4 against screen

ASS_Images returned by libass are guaranteed to be clipped. Not doing
this will cause invalid memory accesses in applications which try to use
this guarantee.

Fixes #254.
libass/ass_render.c