gsm610.c : Make sure SF_FORMAT_WAVEX are handled correctly.

This commit is contained in:
Erik de Castro Lopo 2005-10-13 10:56:48 +00:00
parent efd5b23767
commit e5ce14d960
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@
* src/file_io.c
Add comments documenting the three sections of the file.
* src/gsm610.c
Make sure SF_FORMAT_WAVEX are handled correctly.
2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac

View File

@ -100,6 +100,7 @@ Need separate gsm_data structs for encode and decode.
return SFE_MALLOC_FAILED ;
if ((psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAV ||
(psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_WAVEX ||
(psf->sf.format & SF_FORMAT_TYPEMASK) == SF_FORMAT_W64)
{ gsm_option (pgsm610->gsm_data, GSM_OPT_WAV49, &true_flag) ;