mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/hapdec: Remove always-false check
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
7bf38eb000
commit
7fc10e273b
|
@ -352,9 +352,6 @@ static int hap_decode(AVCodecContext *avctx, void *data,
|
||||||
|
|
||||||
start_texture_section += ctx->texture_section_size + 4;
|
start_texture_section += ctx->texture_section_size + 4;
|
||||||
|
|
||||||
if (avctx->codec->update_thread_context)
|
|
||||||
ff_thread_finish_setup(avctx);
|
|
||||||
|
|
||||||
/* Unpack the DXT texture */
|
/* Unpack the DXT texture */
|
||||||
if (hap_can_use_tex_in_place(ctx)) {
|
if (hap_can_use_tex_in_place(ctx)) {
|
||||||
int tex_size;
|
int tex_size;
|
||||||
|
|
Loading…
Reference in New Issue