mirror of https://git.ffmpeg.org/ffmpeg.git
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);
|
ret = ff_thread_get_buffer(avctx, &tframe, 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
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. */
|
/* Now decompress the texture with the standard functions. */
|
||||||
avctx->execute2(avctx, decompress_texture_thread,
|
avctx->execute2(avctx, decompress_texture_thread,
|
||||||
|
|
Loading…
Reference in New Issue