From 92bfc3cd0363c0b13b2ac9ca57402e85753401da Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 12 Sep 2015 13:51:44 +0000 Subject: [PATCH] avcodec/dxv: remove code that is never reached The function is automatically called. Signed-off-by: Paul B Mahol --- libavcodec/dxv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c index e20e940fed..e375734ebd 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,