diff options
author | Alexander Strange <astrange@ithinksw.com> | 2011-02-17 03:25:00 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 11:39:12 -0500 |
commit | ad9791e12b6653a465803062e2543f25916300d3 (patch) | |
tree | 4ac08d53edc03be941c7baade9f927a5c73cfb22 /libavformat/movenc.c | |
parent | 00ba041cb396f88f68a1bf7907e7c98ded3760ab (diff) | |
download | ffmpeg-ad9791e12b6653a465803062e2543f25916300d3.tar.gz |
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>
Diffstat (limited to 'libavformat/movenc.c')
0 files changed, 0 insertions, 0 deletions