summaryrefslogtreecommitdiff
path: root/libavcodec/dxv.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-12 13:51:44 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-15 07:52:15 +0000
commit92bfc3cd0363c0b13b2ac9ca57402e85753401da (patch)
treed7a65d0d38dd5ee40b8136634cc61fc0d78297c0 /libavcodec/dxv.c
parent59c1fec9fb9441501bfa873094977cf3c95f77d5 (diff)
downloadffmpeg-92bfc3cd0363c0b13b2ac9ca57402e85753401da.tar.gz
avcodec/dxv: remove code that is never reached
The function is automatically called. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/dxv.c')
-rw-r--r--libavcodec/dxv.c2
1 files changed, 0 insertions, 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,