This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libdvbv5: Find other TS in NIT pointer fix
Author:  Rob Barker <[email protected]>
Date:    Thu May 29 12:20:53 2014 -0300

dvb_scan_add_entry() is modified to return the pointer to the newly
created entry (the last in the list), so the add_update_nit_ functions
now modify the correct element, instead of the penultimate one.  This
fixes the finding of other TS in NIT scan feature.

Signed-off-by: Rob Barker <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 lib/libdvbv5/dvb-scan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=3a33bcaac9f6fc87cedbd90329fb4d9e18e83b46

diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
index 297ac59..9a7997b 100644
--- a/lib/libdvbv5/dvb-scan.c
+++ b/lib/libdvbv5/dvb-scan.c
@@ -741,7 +741,7 @@ struct dvb_entry *dvb_scan_add_entry(struct dvb_v5_fe_parms 
*parms,
                                n, freq);
                        entry->next = new_entry;
                        new_entry->next = NULL;
-                       return entry;
+                       return new_entry;
                }
        }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to