Commit c3cda67b authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Fix for logging PI data to JSON in Windows

parent d4b87c72
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -158,7 +158,15 @@ void IVAS_RTP_LogPiData(
        return;
    }

#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
#ifdef _WIN32
    if ( ftell( f_piDataOut ) > 3 )
#else
    if ( ftell( f_piDataOut ) > 2 )
#endif
#else
    if ( ftell( f_piDataOut ) > 2 )
#endif
    {
        fprintf( f_piDataOut, ",\n" );
    }