Commit feb4ecb5 authored by Laurent Aimar's avatar Laurent Aimar

Fixed kate build without libtiger.

It closes #3586.
parent b67498fe
...@@ -1183,9 +1183,11 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t ...@@ -1183,9 +1183,11 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
return NULL; return NULL;
} }
subpicture_updater_t updater = { subpicture_updater_t updater = {
#ifdef HAVE_TIGER
.pf_validate = TigerValidateSubpicture, .pf_validate = TigerValidateSubpicture,
.pf_update = TigerUpdateSubpicture, .pf_update = TigerUpdateSubpicture,
.pf_destroy = TigerDestroySubpicture, .pf_destroy = TigerDestroySubpicture,
#endif
.p_sys = p_spu_sys, .p_sys = p_spu_sys,
}; };
p_spu = decoder_NewSubpicture( p_dec, p_sys->b_use_tiger ? &updater : NULL ); p_spu = decoder_NewSubpicture( p_dec, p_sys->b_use_tiger ? &updater : NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment