minor syntax

This commit is contained in:
Josh Coalson
2002-08-01 08:09:14 +00:00
parent 312438fc61
commit 8255be52c3
3 changed files with 10 additions and 10 deletions

View File

@@ -133,7 +133,7 @@ public:
{
(void)buffer, (void)bytes, (void)samples, (void)current_frame;
return ::FLAC__STREAM_ENCODER_WRITE_OK;
return ::FLAC__STREAM_ENCODER_WRITE_STATUS_OK;
}
void StreamEncoder::metadata_callback(const ::FLAC__StreamMetadata *metadata)

View File

@@ -46,9 +46,9 @@ static FLAC__StreamEncoderWriteStatus encoder_write_callback_(const FLAC__Stream
(void)encoder, (void)samples, (void)current_frame;
if(fwrite(buffer, 1, bytes, ecd->file) != bytes)
return FLAC__STREAM_ENCODER_WRITE_FATAL_ERROR;
return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR;
else
return FLAC__STREAM_ENCODER_WRITE_OK;
return FLAC__STREAM_ENCODER_WRITE_STATUS_OK;
}
static void encoder_metadata_callback_(const FLAC__StreamEncoder *encoder, const FLAC__StreamMetadata *metadata, void *client_data)