Commit 9778cf37 authored by bayers's avatar bayers
Browse files

fix problem with reading the render config twice in the decoder initialisation

parent 45515462
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1333,7 +1333,8 @@ static ivas_error RenderConfigReader_readBinary(

    fread( pRenderConfigReader->pBitstream, sizeof( uint8_t ), file_size, pReverbConfigFile );
    pRenderConfigReader->length = file_size;
#ifdef FIX_RENDER_CONFIG_BITSTREAM_READER
#ifdef API_5MS
    /* we read the config twice in the decoder, so reset the read offset here */
    pRenderConfigReader->readOffset = 0;
#endif