[xiph-commits] r2967 - libfishsound/branches/1.0-stable/src/libfishsound

conrad at svn.annodex.net conrad at svn.annodex.net
Sun Jun 17 18:40:58 PDT 2007


Author: conrad
Date: 2007-06-17 18:40:58 -0700 (Sun, 17 Jun 2007)
New Revision: 2967

Modified:
   libfishsound/branches/1.0-stable/src/libfishsound/vorbis.c
Log:
fix compile for FS_ENCODE disabled (don't try to call fs_vorbis_finish())


Modified: libfishsound/branches/1.0-stable/src/libfishsound/vorbis.c
===================================================================
--- libfishsound/branches/1.0-stable/src/libfishsound/vorbis.c	2007-06-18 01:39:51 UTC (rev 2966)
+++ libfishsound/branches/1.0-stable/src/libfishsound/vorbis.c	2007-06-18 01:40:58 UTC (rev 2967)
@@ -448,7 +448,9 @@
 {
   FishSoundVorbisInfo * fsv = (FishSoundVorbisInfo *)fsound->codec_data;
 
+#if FS_ENCODE && HAVE_VORBISENC
   fs_vorbis_finish (fsound);
+#endif /* FS_ENCODE && HAVE_VORBISENC */
 
   if (fsv->ipcm) fs_free (fsv->ipcm);
 



More information about the commits mailing list