[xiph-commits] r15449 - trunk/vorbis-tools/oggenc

ivo at svn.xiph.org ivo at svn.xiph.org
Sat Oct 25 04:20:23 PDT 2008


Author: ivo
Date: 2008-10-25 04:20:22 -0700 (Sat, 25 Oct 2008)
New Revision: 15449

Modified:
   trunk/vorbis-tools/oggenc/lyrics.c
Log:
lyrics.c was missing an #ifdef, making oggenc not compile for those without libkate (oops).  Thank you, Romain Beauxis.

Modified: trunk/vorbis-tools/oggenc/lyrics.c
===================================================================
--- trunk/vorbis-tools/oggenc/lyrics.c	2008-10-23 22:17:56 UTC (rev 15448)
+++ trunk/vorbis-tools/oggenc/lyrics.c	2008-10-25 11:20:22 UTC (rev 15449)
@@ -441,6 +441,7 @@
         for (n=0; n<lyrics->count; ++n) {
           oe_lyrics_item *li=&lyrics->lyrics[n];
           free(li->text);
+#ifdef HAVE_KATE
           if (li->km) {
             for (c=0; c<li->km->ncurves; ++c) {
               free(li->km->curves[c]->pts);
@@ -450,6 +451,7 @@
             free(li->km->durations);
             free(li->km);
           }
+#endif
         }
         free(lyrics->lyrics);
         free(lyrics);



More information about the commits mailing list