omx: Fix OOM check
authorTimothy Gu <timothygu99@gmail.com>
Mon, 5 Dec 2016 17:24:47 +0000 (09:24 -0800)
committerTimothy Gu <timothygu99@gmail.com>
Tue, 6 Dec 2016 21:20:55 +0000 (13:20 -0800)
commit16a75304fe42d3a007c78126b6370c94ccf891f6
treefb2ca5c9e1ac8d93a9a982aa48723328ccad4b47
parent581f93f37ef2e7a00662828ed0348d1edb9041fe
omx: Fix OOM check

Also use av_mallocz_array().

Fixes CID1396839.
libavcodec/omx.c