]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix for incorrect pointer type
authorDan Ziemba <zman0900@gmail.com>
Thu, 30 Jul 2015 05:15:00 +0000 (01:15 -0400)
committerJaroslav Kysela <perex@perex.cz>
Thu, 22 Oct 2015 15:33:59 +0000 (17:33 +0200)
mpegts_table_state_t is now mpegts_psi_table_state_t

src/input/mpegts/dvb_psi.c

index eeb01dacf76549196f8bd810f6ad4fe4b0b79ecf..7d5384c2e7642d64d56e58cb1b88736737c7caf0 100644 (file)
@@ -1734,7 +1734,7 @@ atsc_stt_callback
   int r, sect, last, ver, extraid;
   uint32_t systemtime, gps_utc_offset;
   int is_dst;
-  mpegts_table_state_t  *st  = NULL;
+  mpegts_psi_table_state_t *st  = NULL;
 
   /* Validate */
   if (tableid != DVB_ATSC_STT_BASE) return -1;
@@ -1743,7 +1743,7 @@ atsc_stt_callback
   extraid = ptr[0] << 8 | ptr[1];
 
   /* Begin */
-  r = dvb_table_begin(mt, ptr, len, tableid, extraid, 7,
+  r = dvb_table_begin((mpegts_psi_table_t *)mt, ptr, len, tableid, extraid, 7,
                       &st, &sect, &last, &ver);
   if (r != 1) return r;
 
@@ -1755,7 +1755,7 @@ atsc_stt_callback
   tvhdebug("stt", "system_time %d, gps_utc_offset %d, is DST %d",
       systemtime, gps_utc_offset, is_dst);
 
-  return dvb_table_end(mt, st, sect);
+  return dvb_table_end((mpegts_psi_table_t *)mt, st, sect);
 }
 
 /*