[vlc-commits] access: dvb: scan: rename scan_service_SetSNR

Francois Cartegnie git at videolan.org
Sun Apr 10 13:56:10 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr  6 16:52:58 2016 +0200| [b58aea11aad5928ae6e31ad358c911549b19250d] | committer: Francois Cartegnie

access: dvb: scan: rename scan_service_SetSNR

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b58aea11aad5928ae6e31ad358c911549b19250d
---

 modules/access/dvb/access.c |    2 +-
 modules/access/dvb/scan.c   |    2 +-
 modules/access/dvb/scan.h   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index cadac3d..8415407 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -356,7 +356,7 @@ static block_t *BlockScan( access_t *p_access )
 
     /* */
     if( i_best_snr > 0 )
-        scan_service_SetSNR( session, i_best_snr );
+        scan_session_SetSNR( session, i_best_snr );
 
     scan_session_Destroy( p_scan, session );
     return NULL;
diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index aeb35b2..3366c8d 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -1261,7 +1261,7 @@ bool scan_session_Push( scan_session_t *p_scan, block_t *p_block )
     return p_scan->p_pat && p_scan->p_sdt && p_scan->p_nit;
 }
 
-void scan_service_SetSNR( scan_session_t *p_session, int i_snr )
+void scan_session_SetSNR( scan_session_t *p_session, int i_snr )
 {
     p_session->i_snr = i_snr;
 }
diff --git a/modules/access/dvb/scan.h b/modules/access/dvb/scan.h
index 4f3c717..9c2d00b 100644
--- a/modules/access/dvb/scan.h
+++ b/modules/access/dvb/scan.h
@@ -99,5 +99,5 @@ scan_session_t *scan_session_New( vlc_object_t *,
                                   const scan_configuration_t * );
 void scan_session_Destroy( scan_t *, scan_session_t * );
 bool scan_session_Push( scan_session_t *p_scan, block_t *p_block );
-void scan_service_SetSNR( scan_session_t *p_scan, int i_snr );
+void scan_session_SetSNR( scan_session_t *p_scan, int i_snr );
 



More information about the vlc-commits mailing list