vp9_encoder: check context buffer allocations
authorJames Zern <jzern@google.com>
Tue, 19 Apr 2022 01:59:57 +0000 (18:59 -0700)
committerJames Zern <jzern@google.com>
Tue, 19 Apr 2022 02:14:30 +0000 (19:14 -0700)
commitf1d42a92bbb98ab4481f85716339a96914369e6a
tree3fb6bb838ac83a916065beef7b1bb1f91a5a6e0c
parent0ca5af7e24f5a8927016d6932a665acc762639a6
vp9_encoder: check context buffer allocations

previously the returns for alloc_context_buffers_ext() and
vp9_alloc_context_buffers() were ignored which would result in a NULL
access during encoding should they fail

Change-Id: Icd76576f3d5f8d57697adc9ae926a3a5be731327
vp9/encoder/vp9_encoder.c