Re: [FFmpeg-devel] [PATCH 1/4] lavc/libaribb24: add error handling to region handling

2019-02-12 Thread Jan Ekström
On Tue, Feb 12, 2019 at 2:16 AM Michael Niedermayer wrote: > > On Mon, Feb 11, 2019 at 03:06:51AM +0200, Jan Ekström wrote: > > Fixes some rather embarrassing mistakes that somehow passed my > > eyes. > > > > * Now catches if memory allocation has failed during bprint usage > > by checking av_bp

Re: [FFmpeg-devel] [PATCH 1/4] lavc/libaribb24: add error handling to region handling

2019-02-11 Thread Michael Niedermayer
On Mon, Feb 11, 2019 at 03:06:51AM +0200, Jan Ekström wrote: > 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 AV

[FFmpeg-devel] [PATCH 1/4] lavc/libaribb24: add error handling to region handling

2019-02-10 Thread Jan Ekström
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 regio