From: Paul B Mahol Date: Sat, 12 Sep 2015 13:51:44 +0000 (+0000) Subject: avcodec/dxv: remove code that is never reached X-Git-Tag: n3.0~2720 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=92bfc3cd0363c0b13b2ac9ca57402e85753401da avcodec/dxv: remove code that is never reached The function is automatically called. Signed-off-by: Paul B Mahol --- 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,