mt: proper locking around release_buffer calls.
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 11 Jul 2011 00:28:28 +0000 (17:28 -0700)
committerReinhard Tartler <siretart@tauware.de>
Tue, 12 Jul 2011 16:13:35 +0000 (18:13 +0200)
commit5e3578893a06644e226bcfefc726b60e2d75a890
tree6f2b88345d1dc9b1d0b82adb155ddeecb00cbd7c
parentdc1b670a2c34a0e1c5c0ba9531dfc8f5a6746a0b
mt: proper locking around release_buffer calls.

This fixes a crash when seeking in some webm files with many
threads (e.g. 8).
(cherry picked from commit 5eafc8b46644764f8aef1b7b2ecae53ee8034822)
libavcodec/pthread.c