vp9_loop_filter_frame_mt: defer allocations
authorJames Zern <jzern@google.com>
Sun, 31 Aug 2014 03:33:52 +0000 (20:33 -0700)
committerJames Zern <jzern@google.com>
Tue, 9 Sep 2014 03:13:39 +0000 (20:13 -0700)
commita46ca6ec00aa0a8bdb0e0fff4ddd2db4257b3cbf
tree383baeb8da3c35037c4ee2d2c618ccc01f2dcccf
parent958a15f0068e9fc47bd4a4ec90902e6f398b99c6
vp9_loop_filter_frame_mt: defer allocations

the code currently checks whether the allocation has been done instead
of allocating on the first frame.
since:
4f27202 vp9: fix crash in mt loopfilter w/corrupt file

this change defers the allocation until the loop filter is used.

Change-Id: I660c1b7f34e713a8dd9884483f01d23b9847366e
vp9/decoder/vp9_dthread.c