mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fixes from MSVC compile
This commit is contained in:
@@ -1218,10 +1218,11 @@ static FLAC__StreamDecoderWriteStatus chain_read_ogg_write_cb_(const FLAC__Strea
|
||||
static void chain_read_ogg_metadata_cb_(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data)
|
||||
{
|
||||
FLAC__Metadata_Chain *chain = (FLAC__Metadata_Chain*)client_data;
|
||||
FLAC__Metadata_Node *node;
|
||||
|
||||
(void)decoder;
|
||||
|
||||
FLAC__Metadata_Node *node = node_new_();
|
||||
node = node_new_();
|
||||
if(0 == node) {
|
||||
chain->status = FLAC__METADATA_CHAIN_STATUS_MEMORY_ALLOCATION_ERROR;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user