src/ogg.c : Record vorbis library version string.

This commit is contained in:
Erik de Castro Lopo 2009-02-09 06:45:16 +11:00
parent 936746b052
commit 31d1ca524d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/ogg.c
Record vorbis library version string.
2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* Octave/Makefile.am

View File

@ -506,6 +506,8 @@ ogg_open (SF_PRIVATE *psf)
if (psf->mode == SFM_RDWR)
return SFE_BAD_MODE_RW ;
psf_log_printf (psf, "Vorbis library version : %s\n", vorbis_version_string ()) ;
if (psf->mode == SFM_READ)
{ /* Call this here so it only gets called once, so no memory is leaked. */
ogg_sync_init (&odata->oy) ;