[FFmpeg-cvslog] avcodec/hapdec: Remove always-false check

Andreas Rheinhardt git at videolan.org
Wed Feb 9 19:09:32 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Feb  6 13:34:48 2022 +0100| [7fc10e273b8d26cd80c903eccdf27289328c9727] | committer: Andreas Rheinhardt

avcodec/hapdec: Remove always-false check

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 libavcodec/hapdec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c
index 2c8c5c36ba..45c44ad78d 100644
--- a/libavcodec/hapdec.c
+++ b/libavcodec/hapdec.c
@@ -352,9 +352,6 @@ static int hap_decode(AVCodecContext *avctx, void *data,
 
         start_texture_section += ctx->texture_section_size + 4;
 
-        if (avctx->codec->update_thread_context)
-            ff_thread_finish_setup(avctx);
-
         /* Unpack the DXT texture */
         if (hap_can_use_tex_in_place(ctx)) {
             int tex_size;



More information about the ffmpeg-cvslog mailing list