Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Check malloc fail before using it

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 1:48 AM Michael Niedermayer wrote: > > On Sun, Feb 10, 2019 at 01:07:20PM +0800, Jun Zhao wrote: > > Need to check malloc fail before using it, so adjust the location > > in the code. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/tests/integral.c |6 +++---

Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Check malloc fail before using it

2019-02-11 Thread Michael Niedermayer
On Sun, Feb 10, 2019 at 01:07:20PM +0800, Jun Zhao wrote: > Need to check malloc fail before using it, so adjust the location > in the code. > > Signed-off-by: Jun Zhao > --- > libavfilter/tests/integral.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) LGTM thx [...] --

[FFmpeg-devel] [PATCH] avfilter/tests/integral: Check malloc fail before using it

2019-02-09 Thread Jun Zhao
Need to check malloc fail before using it, so adjust the location in the code. Signed-off-by: Jun Zhao --- libavfilter/tests/integral.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/tests/integral.c b/libavfilter/tests/integral.c index