avcodec/dxv: remove code that is never reached
authorPaul B Mahol <onemda@gmail.com>
Sat, 12 Sep 2015 13:51:44 +0000 (13:51 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 15 Sep 2015 07:52:15 +0000 (07:52 +0000)
The function is automatically called.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/dxv.c

index e20e940..e375734 100644 (file)
@@ -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,