VirtualBox

Changeset 25691 in vbox


Ignore:
Timestamp:
Jan 8, 2010 2:49:03 PM (15 years ago)
Author:
vboxsync
Message:

pulse: don't crash on error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/pulseaudio.c

    r25678 r25691  
    152152        case PA_CONTEXT_FAILED:
    153153            LogRel(("Pulse: Audio input/output stopped!\n"));
    154             pPulse->cErrors = MAX_LOG_REL_ERRORS;
     154            if (pPulse)
     155                pPulse->cErrors = MAX_LOG_REL_ERRORS;
    155156            pa_threaded_mainloop_signal(g_pMainLoop, 0);
    156157            break;
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