Commit 656ca9c0 authored by sagnowski's avatar sagnowski
Browse files

Simplify error check and correct comment

parent 2aaae781
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -142,9 +142,9 @@ ivas_error IsmFileReader_readNextFrame(
    }

#ifdef FIX_ISM_METADATA_READER
    if ( strtok( char_ptr, "\n" ) != NULL )
    if ( char_ptr != NULL )
    {
        /* Not enough values provided in one line */
        /* Too many values provided in one line */
        return IVAS_ERR_ISM_FILE_READER_INVALID_METADATA_FORMAT;
    }
#endif