]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Stupid logic error I had previously fixed and obviously not committed. Fixes #1219.
authorAdam Sutton <dev@adamsutton.me.uk>
Wed, 12 Sep 2012 13:25:43 +0000 (14:25 +0100)
committerAdam Sutton <dev@adamsutton.me.uk>
Wed, 12 Sep 2012 13:25:43 +0000 (14:25 +0100)
src/dvb/dvb_tables.c

index a9ed0161cf9a6b9907d2ed2139bbdb80ebd2a068..7a548eb92e838ba58136aba03570f7b4ab86a90c 100644 (file)
@@ -454,7 +454,7 @@ dvb_sdt_callback(th_dvb_mux_instance_t *tdmi, uint8_t *ptr, int len,
 
   th_dvb_adapter_t *tda = tdmi->tdmi_adapter;
 
-  if (tableid != 0x42 || tableid != 0x46) return -1;
+  if (tableid != 0x42 && tableid != 0x46) return -1;
 
   if(len < 8) return -1;