Changeset c7caf0005dcab6d0f4bb007bff53f84a5977de44

Show
Ignore:
Timestamp:
03/11/08 09:05:24 (6 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1205222724 +0100
git-parent:

[dec4051286cdda84b13a686b574d5360c7e4560e]

git-author:
Rafaël Carré <funman@videolan.org> 1205196680 +0100
Message:

remove useless msg_Err() , use memset() for simplicity

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/audio_output/pulse.c

    r1aac6d6 rc7caf00  
    116116    p_aout->output.p_sys = p_sys = malloc( sizeof( aout_sys_t ) ); 
    117117    if( p_sys == NULL ) 
    118     { 
    119         msg_Err( p_aout, "out of memory" ); 
    120118        return VLC_ENOMEM; 
    121     } 
    122     p_sys->started = 0; 
    123     p_sys->stream = NULL; 
    124     p_sys->mainloop = NULL; 
    125     p_sys->context = NULL; 
     119    memset( p_sys, 0, sizeof( aout_sys_t ) ); 
    126120 
    127121    PULSE_DEBUG( "Pulse start initialization");