vpxenc: die on realloc failures
authorJohn Koleszar <jkoleszar@google.com>
Wed, 30 Mar 2011 01:44:19 +0000 (21:44 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 30 Mar 2011 10:37:02 +0000 (06:37 -0400)
commit26b6a3b088682a86632babffbd9d6749b609bdd7
tree9ba4eef024f8ab401a3b3976640d3af4fea948f1
parent0e43668546010bf0a9ece398effb37beca5dbea5
vpxenc: die on realloc failures

Identified as a possible cause of issue #308, the code was silently
ignoring realloc failures, which would lead to corruption, memory
leaks, and likely a crash. The best we can do in this case is die
gracefully.

Change-Id: Ie5f6a853d367015be5b9712bd742778f3baeefd9
vpxenc.c