frame_thread_encoder: extend critical code covered by finished_task_mutex.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 25 May 2017 12:20:21 +0000 (08:20 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 25 May 2017 14:29:07 +0000 (10:29 -0400)
commitd98f34d7d440ab3671be4e55c00d2cc7bf007eab
tree9b9d2fa80da020d0a31a745f124fa6016957b404
parentca2209d67af0a73fe0edb2fce1cea2445dbfd8db
frame_thread_encoder: extend critical code covered by finished_task_mutex.

Should fix tsan errors in utvideoenc_rgb_left and related tests.
libavcodec/frame_thread_encoder.c