The function is automatically called.

Signed-off-by: Paul B Mahol <one...@gmail.com>
---
 libavcodec/dxv.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index e20e940..e375734 100644
--- a/libavcodec/dxv.c
+++ b/libavcodec/dxv.c
@@ -397,8 +397,6 @@ static int dxv_decode(AVCodecContext *avctx, void *data,
     ret = ff_thread_get_buffer(avctx, &tframe, 0);
     if (ret < 0)
         return ret;
-    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,
-- 
1.7.11.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to