rv34: fix and optimise frame dependency checking
authorJanne Grunau <janne-libav@jannau.net>
Wed, 11 Jan 2012 19:10:23 +0000 (20:10 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Thu, 12 Jan 2012 17:38:08 +0000 (18:38 +0100)
commit3547f8e8f8418af0c578eba0de62ecba08e460c2
tree2fe53d0cad2efb65fb3d4d4d43aae916de13071e
parente1e369049e3d2f88eed6ed38eb3dd704681c7f1a
rv34: fix and optimise frame dependency checking

The sporadic threading errors during fate-rv30 were caused by calling
ff_thread_await_progress with mb row -1 as argument. That returns
immediately since progress is initialized to -1. Not yet computed
motion vectors from the reference could be used for the first
macroblocks.
libavcodec/rv34.c