[FFmpeg-cvslog] avcodec/dxv: remove code that is never reached

Paul B Mahol git at videolan.org
Tue Sep 15 09:52:56 CEST 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 12 13:51:44 2015 +0000| [92bfc3cd0363c0b13b2ac9ca57402e85753401da] | committer: Paul B Mahol

avcodec/dxv: remove code that is never reached

The function is automatically called.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92bfc3cd0363c0b13b2ac9ca57402e85753401da
---

 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,



More information about the ffmpeg-cvslog mailing list