[bTSstream-devel] [Git][videolan/bitstream][master] desc_6d: fix desc6dn_set_frequency

Massiot gitlab at videolan.org
Mon Jun 20 21:50:03 CEST 2016


Massiot pushed to branch master at videolan / bitstream


Commits:
44447680 by Christophe Massiot at 2016-06-20T21:48:57+02:00
desc_6d: fix desc6dn_set_frequency

Bug spotted by "debug asm".

- - - - -


1 changed file:

- dvb/si/desc_6d.h


Changes:

=====================================
dvb/si/desc_6d.h
=====================================
--- a/dvb/si/desc_6d.h
+++ b/dvb/si/desc_6d.h
@@ -69,7 +69,7 @@ static inline uint32_t desc6dn_get_frequency(const uint8_t *p_desc_n)
     return (p_desc_n[2] << 24) | (p_desc_n[3] << 16) | (p_desc_n[4] << 8) | p_desc_n[5];
 }
 
-static inline void desc6dn_set_frequency(uint8_t *p_desc_n, uint16_t i_frequency)
+static inline void desc6dn_set_frequency(uint8_t *p_desc_n, uint32_t i_frequency)
 {
     p_desc_n[2] = (i_frequency >> 24) & 0xff;
     p_desc_n[3] = (i_frequency >> 16) & 0xff;



View it on GitLab: https://code.videolan.org/videolan/bitstream/commit/4444768023f9f4f76f9fa6dc61d488e1d9eabfd8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/bitstream-devel/attachments/20160620/ccd148a0/attachment.html>


More information about the biTStream-devel mailing list