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
5 files changed