mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 23:24:01 +08:00
Merge commit '94660c35249e11c53b9a9f0c2f85c4335b21eda7'
* commit '94660c35249e11c53b9a9f0c2f85c4335b21eda7': threads: always call thread_finish_setup for intra codecs Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1025,9 +1025,9 @@ static int thread_get_buffer_internal(AVCodecContext *avctx, ThreadFrame *f, int
|
|||||||
|
|
||||||
pthread_mutex_unlock(&p->progress_mutex);
|
pthread_mutex_unlock(&p->progress_mutex);
|
||||||
|
|
||||||
if (!avctx->codec->update_thread_context)
|
|
||||||
ff_thread_finish_setup(avctx);
|
|
||||||
}
|
}
|
||||||
|
if (!avctx->thread_safe_callbacks && !avctx->codec->update_thread_context)
|
||||||
|
ff_thread_finish_setup(avctx);
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
av_buffer_unref(&f->progress);
|
av_buffer_unref(&f->progress);
|
||||||
|
|||||||
Reference in New Issue
Block a user