Revision 05fa64a7
ID | 05fa64a7c5191a8fa1d02295d84ff0b6fe842cb8 |
Parent | 1b4580d1 |
Child | e9e9139c |
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: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ad9791e12b6653a465803062e2543f25916300d3)
Files
- added
- modified
- copied
- renamed
- deleted