[MPlayer-dev-eng] [PATCH] exit_player

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Aug 30 20:13:02 CEST 2004


Hi,
> -  if(sig_count==5 || (inited_flags==0 && sig_count>1)) exit(1);
> +  if(sig_count==5 || (inited_flags==0 && sig_count>1)) exit_player(NULL);

I'm not sure if that's correct... As far as I understand it, this if 
executed when a signal was caused by the signal handling code. So if the 
exit_player function causes a segfault wouldn't this get us stuck in an 
endless loop?
Maybe somebody with actual linux programming experience can comment ;-)

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list