{
if ( m_EditRate != m_SampleRate )
{
- DefaultLogSink().Error("EditRate and SampleRate do not match (%.03f, %.03f).\n",
- m_EditRate.Quotient(), m_SampleRate.Quotient());
+ DefaultLogSink().Warn("EditRate and SampleRate do not match (%.03f, %.03f).\n",
+ m_EditRate.Quotient(), m_SampleRate.Quotient());
if ( m_EditRate == EditRate_24 && m_SampleRate == EditRate_48 )
{
inline bool DecodeHex(const char* str) {
ui32_t char_count;
m_HasValue = ( hex2bin(str, m_Value, SIZE, &char_count) == 0 );
+ if ( m_HasValue && char_count != SIZE )
+ m_HasValue = false;
return m_HasValue;
}
inline bool DecodeBase64(const char* str) {
ui32_t char_count;
m_HasValue = ( base64decode(str, m_Value, SIZE, &char_count) == 0 );
+ if ( m_HasValue && char_count != SIZE )
+ m_HasValue = false;
return m_HasValue;
}