h264: only allow ending a field/starting a new one before finish_setup()
authorAnton Khirnov <anton@khirnov.net>
Tue, 17 May 2016 16:57:23 +0000 (18:57 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 21 Jun 2016 09:10:00 +0000 (11:10 +0200)
commit17e7c03e12d1e4490921e7bffaeaa6b46a7ada4e
tree8b92ced8be9afdbe9bfce42795f11d7e388f4288
parentdebca90863e4ee53447efd02483c500f89766384
h264: only allow ending a field/starting a new one before finish_setup()

Doing this after ff_thread_finish_setup() is called is invalid and can
conflict with reads from the other thread.
libavcodec/h264_slice.c