]> git.sesse.net Git - vlc/commitdiff
Fixed kate build without libtiger.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 2 May 2010 00:41:09 +0000 (02:41 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 2 May 2010 00:41:09 +0000 (02:41 +0200)
It closes #3586.

modules/codec/kate.c

index cdff579d8ae410d016d391748b6ed8ae090aba1b..ee12f48b396f85565fa0dbeda8ccbb1b7168d4bb 100644 (file)
@@ -1183,9 +1183,11 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
             return NULL;
     }
     subpicture_updater_t updater = {
+#ifdef HAVE_TIGER
         .pf_validate = TigerValidateSubpicture,
         .pf_update   = TigerUpdateSubpicture,
         .pf_destroy  = TigerDestroySubpicture,
+#endif
         .p_sys       = p_spu_sys,
     };
     p_spu = decoder_NewSubpicture( p_dec, p_sys->b_use_tiger ? &updater : NULL );