From: Stefan Ringel <[email protected]>
Signed-off-by: Stefan Ringel <[email protected]>
---
utils/dvb/descriptors.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/dvb/descriptors.c b/utils/dvb/descriptors.c
index a492b6c..fcad464 100644
--- a/utils/dvb/descriptors.c
+++ b/utils/dvb/descriptors.c
@@ -365,7 +365,7 @@ static void parse_NIT_DVBT(struct nit_table *nit_table,
*freq = realloc(*freq, 1);
nit_table->frequency_len = 1;
- nit_table->frequency[0] = bcd_to_int(&buf[2], 32) * 10; /* KHz */
+ nit_table->frequency[0] = ((buf[2] << 24) | (buf[3] << 16) | (buf[4] <<
8) | (buf[5])) * 10; /* KHz */
nit_table->has_dvbt = 1;
if (nit_table->delivery_system != SYS_DVBT2)
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html