mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavc/hapenc: Silence a warning for multithreaded encoding.
This commit is contained in:
parent
5c047f3ad4
commit
8080688d0e
@ -177,7 +177,8 @@ static int hap_decode(AVCodecContext *avctx, void *data,
|
||||
ret = ff_thread_get_buffer(avctx, &tframe, 0);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
ff_thread_finish_setup(avctx);
|
||||
if (avctx->codec->update_thread_context)
|
||||
ff_thread_finish_setup(avctx);
|
||||
|
||||
/* Use the decompress function on the texture, one block per thread */
|
||||
avctx->execute2(avctx, decompress_texture_thread, tframe.f, NULL, blocks);
|
||||
|
Loading…
Reference in New Issue
Block a user