src/ogg.c : Remove weird sub formats.

This commit is contained in:
Erik de Castro Lopo 2007-08-01 21:45:35 +10:00
parent fce29969e9
commit 53cffab377

View File

@ -243,11 +243,7 @@ ogg_open (SF_PRIVATE *psf)
psf->command = ogg_command ;
switch (subformat)
{ case SF_FORMAT_ULAW : /* 8-bit Ulaw encoding. */
error = ogg_ulaw_init (psf) ;
break ;
case SF_FORMAT_PCM_S8 : /* 8-bit linear PCM. */
{ case SF_FORMAT_PCM_S8 : /* 8-bit linear PCM. */
error = error = ogg_pcm_init (psf) ;
break ;
@ -257,10 +253,6 @@ ogg_open (SF_PRIVATE *psf)
error = ogg_pcm_init (psf) ;
break ;
case SF_FORMAT_ALAW : /* 8-bit Alaw encoding. */
error = ogg_alaw_init (psf) ;
break ;
/* Lite remove start */
case SF_FORMAT_FLOAT : /* 32-bit floats. */
error = ogg_float32_init (psf) ;
@ -270,20 +262,6 @@ ogg_open (SF_PRIVATE *psf)
error = ogg_double64_init (psf) ;
break ;
case SF_FORMAT_G721_32 :
error = ogg_g72x_init (psf) ;
psf->sf.seekable = SF_FALSE ;
break ;
case SF_FORMAT_G723_24 :
error = ogg_g72x_init (psf) ;
psf->sf.seekable = SF_FALSE ;
break ;
case SF_FORMAT_G723_40 :
error = ogg_g72x_init (psf) ;
psf->sf.seekable = SF_FALSE ;
break ;
/* Lite remove end */
default : break ;