[vlc-commits] dvb: actually check/print right variable on dvb-c modulation scanning

Ilkka Ollakka git at videolan.org
Wed Mar 9 18:29:04 CET 2011


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Mar  9 19:28:45 2011 +0200| [b49f0555a4db6dac6aced9d5b5ffb90e7b2ad853] | committer: Ilkka Ollakka

dvb: actually check/print right variable on dvb-c modulation scanning

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

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

diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c
index 3921999..aa09528 100644
--- a/modules/access/dvb/scan.c
+++ b/modules/access/dvb/scan.c
@@ -560,12 +560,12 @@ int scan_Next( scan_t *p_scan, scan_configuration_t *p_cfg )
     {
         p_scan->parameter.i_modulation = (p_scan->parameter.i_modulation << 1 ) % 512;
         /* if we iterated all modulations, move on */
-        if( !p_cfg->i_modulation )
+        if( !p_scan->parameter.i_modulation )
         {
             p_scan->parameter.i_modulation = 16;
             p_scan->i_index++;
         }
-        msg_Dbg( p_scan->p_obj, "modulation %d ", p_cfg->i_modulation );
+        msg_Dbg( p_scan->p_obj, "modulation %d ", p_scan->parameter.i_modulation);
     } else {
        p_scan->i_index++;
     }



More information about the vlc-commits mailing list