FSCORE-591

This commit is contained in:
Anthony Minessale
2010-05-26 09:51:14 -05:00
parent 69b94bce36
commit a3e6beadd0
2 changed files with 26 additions and 8 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ static switch_status_t sndfile_file_write(switch_file_handle_t *handle, void *da
handle->sample_count += *len;
return SWITCH_STATUS_SUCCESS;
return sf_error(context->handle) == SF_ERR_NO_ERROR ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE;
}
static switch_status_t sndfile_file_set_string(switch_file_handle_t *handle, switch_audio_col_t col, const char *string)