Commit 7a01aa9c authored by David Kaplan's avatar David Kaplan Committed by Rémi Denis-Courmont

DVB access module format improvements

ScanDvbTNextExhaustive() -> ScanDvbNextExhaustive() as is used for both DVB-T/C
Various code format improvements
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 100ef2ea
...@@ -177,7 +177,7 @@ static int ScanDvbCNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double ...@@ -177,7 +177,7 @@ static int ScanDvbCNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
return VLC_EGENERIC; return VLC_EGENERIC;
} }
static int ScanDvbTNextExhaustive( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos ) static int ScanDvbNextExhaustive( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos )
{ {
if( p_scan->i_index > p_scan->parameter.frequency.i_count * p_scan->parameter.bandwidth.i_count ) if( p_scan->i_index > p_scan->parameter.frequency.i_count * p_scan->parameter.bandwidth.i_count )
return VLC_EGENERIC; return VLC_EGENERIC;
...@@ -267,7 +267,7 @@ static int ScanDvbTNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double ...@@ -267,7 +267,7 @@ static int ScanDvbTNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double
static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos ) static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos )
{ {
if( p_scan->parameter.b_exhaustive ) if( p_scan->parameter.b_exhaustive )
return ScanDvbTNextExhaustive( p_scan, p_cfg, pf_pos ); return ScanDvbNextExhaustive( p_scan, p_cfg, pf_pos );
else else
return ScanDvbCNextFast( p_scan, p_cfg, pf_pos ); return ScanDvbCNextFast( p_scan, p_cfg, pf_pos );
} }
...@@ -275,7 +275,7 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf ...@@ -275,7 +275,7 @@ static int ScanDvbCNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf
static int ScanDvbTNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos ) static int ScanDvbTNext( scan_t *p_scan, scan_configuration_t *p_cfg, double *pf_pos )
{ {
if( p_scan->parameter.b_exhaustive ) if( p_scan->parameter.b_exhaustive )
return ScanDvbTNextExhaustive( p_scan, p_cfg, pf_pos ); return ScanDvbNextExhaustive( p_scan, p_cfg, pf_pos );
else else
return ScanDvbTNextFast( p_scan, p_cfg, pf_pos ); return ScanDvbTNextFast( p_scan, p_cfg, pf_pos );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment