Mercurial > mplayer.hg
comparison mplayer.c @ 18733:1a0111272217
Fix definition of reinit_audio_chain().
It had return type "int" even though it did not return a value (callers
do not expect one) and used old-style syntax. Changed return type to
"void" and added "void" as parameter list.
author | uau |
---|---|
date | Fri, 16 Jun 2006 20:21:37 +0000 |
parents | b3fa3772a187 |
children | 93dd2847bcdc |
comparison
equal
deleted
inserted
replaced
18732:b3fa3772a187 | 18733:1a0111272217 |
---|---|
2337 } | 2337 } |
2338 } | 2338 } |
2339 return 1; | 2339 return 1; |
2340 } | 2340 } |
2341 | 2341 |
2342 static int reinit_audio_chain() { | 2342 static void reinit_audio_chain(void) { |
2343 if(sh_audio){ | 2343 if(sh_audio){ |
2344 current_module="init_audio_codec"; | 2344 current_module="init_audio_codec"; |
2345 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); | 2345 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); |
2346 if(!init_best_audio_codec(sh_audio,audio_codec_list,audio_fm_list)){ | 2346 if(!init_best_audio_codec(sh_audio,audio_codec_list,audio_fm_list)){ |
2347 sh_audio=d_audio->sh=NULL; // failed to init :( | 2347 sh_audio=d_audio->sh=NULL; // failed to init :( |