vp9: fix invalid ref frame w/h on size change.
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 26 Jan 2014 01:30:07 +0000 (20:30 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 26 Jan 2014 19:16:01 +0000 (20:16 +0100)
commitc2871568cffe5c8a32ac7db35febf4267746395b
treec83c50e7b6e8effdf6f05e6a04ea2c6e59e7f750
parentd9343c348412d9b790c6da6b64c07ef85aefd145
vp9: fix invalid ref frame w/h on size change.

Fixes invalid reads and crashes in vp90-2-05-resize.webm and fuzzed6.ivf.
The output is still not identical to what libvpx does (because we don't
actually scale in MC).

Reviewed-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vp9.c