comparison mplayer.c @ 26963:8825552ee585

Fix the linking of TOOLS/netstream and TOOLS/vivodump.
author diego
date Fri, 06 Jun 2008 13:28:25 +0000
parents 4ab1cfcee430
children 4bee4b9ec054
comparison
equal deleted inserted replaced
26962:457f8904a5eb 26963:8825552ee585
2535 2535
2536 current_module = NULL; 2536 current_module = NULL;
2537 return 0; 2537 return 0;
2538 } 2538 }
2539 2539
2540 /* This preprocessor directive is a hack to generate a mplayer-nomain.o object
2541 * file for some tools to link against. */
2542 #ifndef DISABLE_MAIN
2540 int main(int argc,char* argv[]){ 2543 int main(int argc,char* argv[]){
2541 2544
2542 2545
2543 char * mem_ptr; 2546 char * mem_ptr;
2544 2547
4036 4039
4037 exit_player_with_rc(MSGTR_Exit_eof, 0); 4040 exit_player_with_rc(MSGTR_Exit_eof, 0);
4038 4041
4039 return 1; 4042 return 1;
4040 } 4043 }
4044 #endif /* DISABLE_MAIN */