Commit f88b7dfc authored by vaclav's avatar vaclav
Browse files

explicitly set codecId = IVAS_RTP_UNDEF in the initialization

parent 8db9043f
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -867,6 +867,9 @@ ivas_error IVAS_RTP_READER_Init(
    rtp->unpackCfg.maxFramesPerPacket = IVAS_MAX_FRAMES_PER_RTP_PACKET;
    rtp->rtpPacket.buffer = rtp->packet;
    rtp->rtpPacket.capacity = sizeof( rtp->packet );
#ifdef FIX_FMSW_DEC
    rtp->codecId = IVAS_RTP_UNDEF;
#endif

    error = IVAS_RTP_UNPACK_Open( &rtp->hUnpack, &rtp->unpackCfg );
    if ( error == IVAS_ERR_OK )