avfilter/tests/integral: Check malloc fail before using it
authorJun Zhao <mypopydev@gmail.com>
Sun, 10 Feb 2019 04:57:44 +0000 (12:57 +0800)
committerJun Zhao <mypopydev@gmail.com>
Tue, 12 Feb 2019 01:08:27 +0000 (09:08 +0800)
commit6382d0334775c0a2d8b945ea5f007e7106431d6d
tree55bcc3f899efbbc098c292030b1b335c1b4286e5
parent0c3333faf6b7bfd45ce666ae697759d9239ba587
avfilter/tests/integral: Check malloc fail before using it

Need to check malloc fail before using it, so adjust the location
in the code.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavfilter/tests/integral.c