Fix hang decoding VP3/Theora.
authorAlexander Strange <astrange@ithinksw.com>
Thu, 30 Sep 2010 20:53:03 +0000 (16:53 -0400)
committerAlexander Strange <astrange@ithinksw.com>
Thu, 30 Sep 2010 20:53:03 +0000 (16:53 -0400)
commited42183540e2a886a7368b8220e0b50aaf363551
treee3215103ac71bb33fdd75fa308c74bb64823aa89
parent480a82da7912bc5034a4b0bc2090879920567521
Fix hang decoding VP3/Theora.

draw_horiz_band changed to only draw the displayed height instead of the
decoded height. This meant that we never reported progress for the last few
decoded pixels, but still awaited them, which deadlocked.

This shouldn't cause any race conditions, because it always decodes the last
few pixels along with the last decoded pixels.

Patch by Yuriy Kaminsky (yumkam mail ru).
libavcodec/vp3.c