commit | 4299d0b62102989d3b747d2901e84dec0009f939 | [log] [tgz] |
---|---|---|
author | johannkoenig@chromium.org <johannkoenig@chromium.org> | Fri Sep 05 19:40:27 2014 +0000 |
committer | johannkoenig@chromium.org <johannkoenig@chromium.org> | Fri Sep 05 19:40:27 2014 +0000 |
tree | 47c1349273faa3274be27b234988ebf83d89a9d1 | |
parent | 6e18fa2139dd88a8a5c529e3e6d0fe6d6f76ad1c [diff] |
Cherry pick "Fix bug 837: realloc mode info buffers on resize" https://gerrit.chromium.org/gerrit/gitweb?p=webm%2Flibvpx.git;a=commit;h=4e30565a9ff3740f20314501d4190541052240e3 Author: Adrian Grange <agrange@google.com> Date: Tue Aug 12 11:24:24 2014 -0700 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 git-svn-id: http://src.chromium.org/svn/branches/2125/deps/third_party/libvpx@291827 4ff67af0-8c30-449e-8e8b-ad334ec8d88c