pthread: unref the decoded but not returned frames on close.
authorAnton Khirnov <anton@khirnov.net>
Mon, 11 Mar 2013 17:04:58 +0000 (18:04 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 11 Mar 2013 17:30:35 +0000 (18:30 +0100)
commitfce68c93554803801c32c1b20509bfa8d496b02a
tree023e43e0d46d40ad633fba8a9595c0fa0fa9b0df
parent555000c7d5c1e13043a948ebc48d2939b0ba6536
pthread: unref the decoded but not returned frames on close.

Fixes memleaks when frame mt is used and the decoder is not flushed at
the end.
libavcodec/pthread.c