]> granicus.if.org Git - libvpx/commit
Fix bug 837: realloc mode info buffers on resize
authorAdrian Grange <agrange@google.com>
Tue, 12 Aug 2014 18:24:24 +0000 (11:24 -0700)
committerAdrian Grange <agrange@google.com>
Thu, 14 Aug 2014 15:59:15 +0000 (08:59 -0700)
commit4e30565a9ff3740f20314501d4190541052240e3
tree8f1f7a8157c3c9fcf450e30d319727bed4acde2e
parent82481405ab7db2f2b0bd720d966f14c682308c92
Fix bug 837: realloc mode info buffers on resize

The test to determine if the mode info buffers need
to be resized when the frame size changes was
incorrect, as per bug 837.

By storing the size of the allocated data structure,
a simple test determines whether to allocate more
memory when the frame size changes.

Change-Id: I1544698f2882cf958fc672485614f2f46e9719bd
vp9/common/vp9_alloccommon.c
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodeframe.c
vp9/encoder/vp9_bitstream.c