mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
lavc/dxv: Silence "Multiple ff_thread_finish_setup() calls" warnings.
This commit is contained in:
parent
617d53f4c7
commit
84c9bf62b4
@ -397,7 +397,8 @@ static int dxv_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);
|
||||
|
||||
/* Now decompress the texture with the standard functions. */
|
||||
avctx->execute2(avctx, decompress_texture_thread,
|
||||
|
Loading…
Reference in New Issue
Block a user