Commit 4a68572a authored by sagnowski's avatar sagnowski
Browse files

Fix int16 interface in encoder

parent 9b3d8883
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1598,7 +1598,7 @@ static bool parseCmdlIVAS_enc(
            }
        }
#ifdef FLOAT_INTERFACE_ENC
        else if ( strcmp( argv_to_upper, "-int16_api" ) == 0 )
        else if ( strcmp( argv_to_upper, "-INT16_API" ) == 0 )
        {
            arg->useInt16Interface = true;
            i++;
+16 −15
Original line number Diff line number Diff line
@@ -1178,6 +1178,7 @@ ivas_error IVAS_ENC_EncodeFrameToSerial(
    if ( hIvasEnc->inputBufferInt != NULL )
    {
        inputBuffer = malloc( inputBufferSize * sizeof( float ) );
        mvs2r( hIvasEnc->inputBufferInt, inputBuffer, inputBufferSize );
    }
    else if ( hIvasEnc->inputBufferFloat != NULL )
    {