aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmenc.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2011-02-17 03:25:00 -0500
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:02 +0100
commit05fa64a7c5191a8fa1d02295d84ff0b6fe842cb8 (patch)
tree2a9aa41d1c55539e7afaebef665bf2682dc591b6 /libavformat/ffmenc.c
parent1b4580d1a2a09856a47a2d4f77ac7facff79baf8 (diff)
downloadffmpeg-05fa64a7c5191a8fa1d02295d84ff0b6fe842cb8.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> (cherry picked from commit ad9791e12b6653a465803062e2543f25916300d3)
Diffstat (limited to 'libavformat/ffmenc.c')
0 files changed, 0 insertions, 0 deletions