[FFmpeg-devel] [PATCH] avcodec/dxv: remove code that is never reached
Paul B Mahol
onemda at gmail.com
Sat Sep 12 15:55:03 CEST 2015
The function is automatically called.
Signed-off-by: Paul B Mahol <onemda at 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
More information about the ffmpeg-devel
mailing list