vp8_decode: free mt buffers early on resolution change
authorJames Zern <jzern@google.com>
Wed, 20 Apr 2022 00:24:26 +0000 (17:24 -0700)
committerJames Zern <jzern@google.com>
Wed, 20 Apr 2022 00:27:39 +0000 (17:27 -0700)
commit8da05d39b94ab09ca1993e5c1cb6430f0d3000db
tree1b07f1d558595d0d1772b0eb8d6c2ee207ed4fe3
parent665f6a3065555317e75915af2561cf9b776e50b6
vp8_decode: free mt buffers early on resolution change

this avoids a desynchronization of mb_rows if an allocation prior to
vp8mt_alloc_temp_buffers() fails and the decoder is then destroyed

Bug: webm:1759
Change-Id: I75457ef9ceb24c8a8fd213c3690e7c1cf0ec425f
vp8/vp8_dx_iface.c