Mercurial > mplayer.hg
comparison stream/tv.c @ 23881:5a5c7866921f
Removing forward declarations of routines used only in tv.c
Marking above routines as static
Removing unfaithful comment
author | voroshil |
---|---|
date | Sun, 29 Jul 2007 03:55:12 +0000 |
parents | 1c888cc4ebbb |
children | d65439444b75 |
comparison
equal
deleted
inserted
replaced
23880:1c888cc4ebbb | 23881:5a5c7866921f |
---|---|
503 done: | 503 done: |
504 /* also start device! */ | 504 /* also start device! */ |
505 return 1; | 505 return 1; |
506 } | 506 } |
507 | 507 |
508 /* ================== STREAM_TV ===================== */ | 508 static tvi_handle_t *tv_begin(void) |
509 | |
510 tvi_handle_t *tv_begin(void) | |
511 { | 509 { |
512 int i; | 510 int i; |
513 tvi_handle_t* h; | 511 tvi_handle_t* h; |
514 if(!strcmp(tv_param_driver,"help")){ | 512 if(!strcmp(tv_param_driver,"help")){ |
515 mp_msg(MSGT_TV,MSGL_INFO,MSGTR_TV_AvailableDrivers); | 513 mp_msg(MSGT_TV,MSGL_INFO,MSGTR_TV_AvailableDrivers); |
537 | 535 |
538 mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_NoSuchDriver, tv_param_driver); | 536 mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_NoSuchDriver, tv_param_driver); |
539 return(NULL); | 537 return(NULL); |
540 } | 538 } |
541 | 539 |
542 int tv_uninit(tvi_handle_t *tvh) | 540 static int tv_uninit(tvi_handle_t *tvh) |
543 { | 541 { |
544 int res; | 542 int res; |
545 if(!tvh) return 1; | 543 if(!tvh) return 1; |
546 if (!tvh->priv) return 1; | 544 if (!tvh->priv) return 1; |
547 res=tvh->functions->uninit(tvh->priv); | 545 res=tvh->functions->uninit(tvh->priv); |