VirtualBox

Changeset 34920 in vbox


Ignore:
Timestamp:
Dec 9, 2010 6:18:29 PM (14 years ago)
Author:
vboxsync
Message:

Audio/HDA: don't touch BdleCvi counter on uninitialized descriptor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp

    r34853 r34920  
    14841484    hdaUpdatePosBuf(pState, pStreamDesc);
    14851485
    1486     if (pBdle->u32BdleCviPos == pBdle->u32BdleCviLen)
     1486    /* don't touch BdleCvi counter on uninitialized descriptor */
     1487    if (   pBdle->u32BdleCviPos
     1488        && pBdle->u32BdleCviPos == pBdle->u32BdleCviLen)
    14871489    {
    14881490        pBdle->u32BdleCviPos = 0;
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