libdvbv5/dvb-file: Allow using SDT for ATSC
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 18 Nov 2013 09:49:45 +0000 (07:49 -0200)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 27 Nov 2013 11:24:40 +0000 (09:24 -0200)
When SDT table parsing is forced, allow using it for ATSC.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/dvb-file.c

index 27bc3c2..d80d2a2 100644 (file)
@@ -1096,7 +1096,8 @@ int store_dvb_channel(struct dvb_file **dvb_file,
                        if (rc < 0)
                                return rc;
                }
-               return 0;
+               if (!dvb_scan_handler->sdt)
+                       return 0;
        }