OSDN Git Service

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)
committerAnton Khirnov <anton@khirnov.net>
Fri, 28 Feb 2014 20:55:46 +0000 (21:55 +0100)
commitd1f9563d502037239185c11578cc614bdf0c5870
tree37a1cf59e9042d64d9e89cf2a30ba6d8ab00cbca
parentbc6461c2861b7d482a037d3b3e2b44ad48805fa0
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.

CC:libav-stable@libav.org
Bug-Id: vlc/9665
libavcodec/pthread_frame.c