pthread_frame: flush all threads on flush, not just the first one
authorAnton Khirnov <anton@khirnov.net>
Thu, 27 Feb 2014 20:36:33 +0000 (21:36 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 4 Mar 2014 00:28:29 +0000 (01:28 +0100)
commit96603d5753c765c662a348b91a8e6d30226de700
tree1305b41f17156772178f116b119ee351be22302d
parentc7c724056ef4998a7ecc881457c2b90074490bbd
pthread_frame: flush all threads on flush, not just the first one

avcodec_flush_buffers() must release all internally held references
according to its documentation, for which all the threads need to be
flushed.

Bug-Id: vlc/9665
(cherry picked from commit d1f9563d502037239185c11578cc614bdf0c5870)

Conflicts:
libavcodec/pthread_frame.c
libavcodec/pthread.c