]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fix some issues
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 7 Feb 2013 22:44:14 +0000 (23:44 +0100)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 7 Feb 2013 22:44:14 +0000 (23:44 +0100)
src/dvb/dvb_tables.c
src/rawtsinput.c

index 3537cb5140118b02c4f03ff1f2da23e29a06af0e..133f9b6ce875709ce4da67f07f6132e6a345f3f0 100644 (file)
@@ -52,7 +52,6 @@ dvb_table_fastswitch(th_dvb_mux_instance_t *tdmi)
   th_dvb_table_t *tdt;
   th_dvb_adapter_t *tda = tdmi->tdmi_adapter;
   dvb_mux_t *dm = tdmi->tdmi_mux;
-  char buf[100];
 
   if(dm->dm_scan_status == DM_SCAN_DONE)
     return;
@@ -63,9 +62,8 @@ dvb_table_fastswitch(th_dvb_mux_instance_t *tdmi)
 
   dvb_mux_save(dm);
 
-  dvb_mux_nicename(buf, sizeof(buf), dm);
   tvhlog(LOG_DEBUG, "dvb", "\"%s\" initial scan completed for \"%s\"",
-        tda->tda_rootpath, buf);
+        tda->tda_rootpath, dvb_mux_nicename(dm));
   dvb_mux_initial_scan_done(dm);
 }
 
index 256d476daed198cf4cb9c8be1d8f66c670f0d8dc..ee5683028822d48efb1db146a08c37f3d20a2797 100644 (file)
@@ -52,7 +52,7 @@ typedef struct rawts {
  *
  */
 static int
-rawts_service_start(service_t *t, unsigned int weight, int force_start)
+rawts_service_start(service_t *t, int id)
 {
   return 0; // Always ok
 }