omx: Fix allocation check
authorTimothy Gu <timothygu99@gmail.com>
Mon, 5 Dec 2016 17:29:12 +0000 (09:29 -0800)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 8 Dec 2016 20:53:58 +0000 (15:53 -0500)
commitd3da8a0035734529c4e26696c9a0c6cb56633838
tree7778748d97ff8c55729407920440b64078079f13
parentd32bdadda86b35c2960e4de877cf081b9d2dadb3
omx: Fix allocation check

Also use av_mallocz_array().

Bug-Id: CID 1396839
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/omx.c