vp9,encode_tiles_buffer_alloc: fix allocation check
authorJames Zern <jzern@google.com>
Wed, 27 Apr 2022 01:42:24 +0000 (18:42 -0700)
committerJames Zern <jzern@google.com>
Wed, 27 Apr 2022 01:44:06 +0000 (18:44 -0700)
commit19b45a26c62170c1fb0dfd18a083ddb84ef7e4a4
tree3ef5dcc7ada01f04e6f71194cebd8f4252d66d6c
parentf6de5b51b8338ebd743a465e84d2c4b73cc29082
vp9,encode_tiles_buffer_alloc: fix allocation check

previously vp9_bitstream_worker_data was checked after it was memset();
this change uses CHECK_MEM_ERROR for consistency to ensure the pointer
is checked first

Change-Id: I532d0eb0e746dc6b8d694b616eba693c5c0053ac
vp9/encoder/vp9_bitstream.c