vp8: update frame size changes on thread context switches.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 1 May 2012 16:59:04 +0000 (09:59 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 2 May 2012 16:57:12 +0000 (09:57 -0700)
commit82a0497cf317a9bf3e5d65fb13485097d0e88321
tree7e096cc460e41e2c9f8cb10b7d208e95381ac2e2
parentbec207f9f9ed5583a8ce49b62ce73bfae1cae85b
vp8: update frame size changes on thread context switches.

This properly synchronizes frame size changes between threads if
subsequent threads abort decoding before frame size is initialized, i.e.
it prevents the thread after that from ping-ponging back to the original
value.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/vp8.c