[pulseaudio-tickets] [PulseAudio] #502: module-combine.c: incorrect use of the pa_assert() macro

PulseAudio trac-noreply at tango.0pointer.de
Mon Mar 2 04:09:56 PST 2009


#502: module-combine.c: incorrect use of the pa_assert() macro
------------------------------+---------------------------------------------
 Reporter:  rantala           |       Owner:  lennart
     Type:  defect            |      Status:  new    
 Priority:  normal            |   Milestone:  0.9.15 
Component:  module-combine-*  |    Severity:  normal 
 Keywords:                    |  
------------------------------+---------------------------------------------
 The following use of pa_assert() should probably be replaced with
 pa_assert_se():

 http://www.pulseaudio.org/browser/src/modules/module-combine.c#L490

 {{{
 485     /* Called from main context */
 486     static void sink_input_kill_cb(pa_sink_input *i) {
 487         struct output *o;
 488
 489         pa_sink_input_assert_ref(i);
 490         pa_assert(o = i->userdata);
 491
 492         pa_module_unload_request(o->userdata->module, TRUE);
 493         output_free(o);
 494     }
 }}}

-- 
Ticket URL: <http://pulseaudio.org/ticket/502>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list