VirtualBox

Changeset 55768 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 8, 2015 7:55:25 PM (10 years ago)
Author:
vboxsync
Message:

uninitialized variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp

    r54491 r55768  
    723723    void * pTmpSampleBuf = NULL;
    724724    uint32_t cConvertedSamples; /* samples adjusted for rate */
    725     uint32_t cbSamples; /* count of bytes occupied by samples */
     725    uint32_t cbSamples = 0; /* count of bytes occupied by samples */
    726726    int rc = VINF_SUCCESS;
    727727
     
    739739
    740740    pConvertedSampleBuf = (PPDMAUDIOSAMPLE)pVRDEVoice->pvRateBuffer;
    741 
    742741    if (pConvertedSampleBuf)
    743742    {
     
    749748        cbSamples =  cConvertedSamples * sizeof(PDMAUDIOSAMPLE);
    750749    }
    751 
    752750
    753751    if (cbSamples)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette