1.3.4.1.12 FLAC_DecoderIsFileValid Function

C

bool FLAC_DecoderIsFileValid(void);

Summary

Function to check if a given FLAC file is valid or not, as per the supported features of this implementation.

Description

Returns true if the given file on which decoding is attempted is valid.

Precondition

FLAC_Initialize function must be called before this function.

Parameters

None.

Returns

bool - true if valid, else false.

Example

is_valid = FLAC_DecoderIsFileValid();

Remarks

None