pthread: free progress if buffer allocation failed.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 24 Mar 2012 19:19:19 +0000 (20:19 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 24 Mar 2012 20:29:35 +0000 (21:29 +0100)
commit2ee01fbded0a6b35b55d125dfd5807219837cf30
tree6e45c9bcc0c8fc81c67cf2039de6298ec796256a
parentbc1ef85520b6b5adc1361841c24218a9d74454e8
pthread: free progress if buffer allocation failed.

Else we run out of progress variables after a few failed buffer
allocations.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/pthread.c