threads: always call thread_finish_setup for intra codecs
authorJanne Grunau <janne-libav@jannau.net>
Mon, 22 Apr 2013 13:31:58 +0000 (15:31 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 22 Apr 2013 15:11:20 +0000 (17:11 +0200)
commit94660c35249e11c53b9a9f0c2f85c4335b21eda7
treedf31af00cb09ff84eb84f708ed44c051b7bc585e
parentf13888afcc5e528b80e4ae5bc4f0d9dadc76f6aa
threads: always call thread_finish_setup for intra codecs

Intra codecs do not need an update_thread_context() function and never
call ff_thread_finish_setup(). They rely on ff_thread_get_buffer()
calling it. So call it even if the get_buffer2 function pointer is
avcodec_default_get_buffer2 and it has not been called before.
libavcodec/pthread.c