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

Subject: desc_t2_delivery: resize frequency array for subcel freqs
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Thu May 4 08:18:38 2017 -0300

It also need to resize the frequency array for subcell
frequencies.

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

 lib/libdvbv5/descriptors/desc_t2_delivery.c | 3 +++
 1 file changed, 3 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=62fadc266cb31d4753216f71d5f4c02f349dd72d
diff --git a/lib/libdvbv5/descriptors/desc_t2_delivery.c 
b/lib/libdvbv5/descriptors/desc_t2_delivery.c
index 16cad7e70cc4..3690689eb81b 100644
--- a/lib/libdvbv5/descriptors/desc_t2_delivery.c
+++ b/lib/libdvbv5/descriptors/desc_t2_delivery.c
@@ -99,6 +99,9 @@ int dvb_desc_t2_delivery_init(struct dvb_v5_fe_parms *parms,
                        p++;    // Ignore subcell ID
 
                        // Add transposer_frequency at centre_frequency table
+                       d->frequency_loop_length++;
+                       d->centre_frequency = realloc(d->centre_frequency,
+                                                     d->frequency_loop_length 
* sizeof(*d->centre_frequency));
                        memcpy(&d->centre_frequency[pos], p, 
sizeof(*d->centre_frequency));
                        bswap32(d->centre_frequency[pos]);
                        pos++;

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

Reply via email to