]> git.sesse.net Git - ffmpeg/commit
tools/crypto_bench: check malloc fail before using it
authorJun Zhao <barryjzhao@tencent.com>
Wed, 8 May 2019 17:16:27 +0000 (01:16 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 9 May 2019 08:59:55 +0000 (16:59 +0800)
commit153a6a67a93af0f0bd00d76670e59e741c9a13c7
tree5ab7701ef29108a4a867d9a72a0741b679eccca6
parent181031906e4984c1c539dc84d21386a4397e257e
tools/crypto_bench: check malloc fail before using it

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

Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
tools/crypto_bench.c