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)
committerReinhard Tartler <siretart@tauware.de>
Sun, 2 Mar 2014 16:42:36 +0000 (11:42 -0500)
commit1d1df82093fdacb2cbc443c70c80f8f801002d28
tree239b53d89ef411cee42e7905f83b93d6ac4c94f2
parentde187e3e9ec4803575deb1c293ccad84d2a88da8
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
(cherry picked from commit d1f9563d502037239185c11578cc614bdf0c5870)
libavcodec/pthread_frame.c