Skip to content
Snippets Groups Projects
Commit 05fa64a7 authored by Alexander Strange's avatar Alexander Strange Committed by Michael Niedermayer
Browse files

pthreads: Fix bug introduced with thread_safe_callbacks


For intra codecs, ff_thread_finish_setup() is called before decoding starts
automatically. However, get_buffer can only be used before it's called, so
adding this requirement broke frame threading for them. Fixed by moving the
call until after get_buffer is finished.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ad9791e1)
parent 1b4580d1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment