[bTSstream-devel] fix a52e_set_frmsiz
Christophe Massiot
git at videolan.org
Tue Nov 4 20:08:04 CET 2014
bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Tue Nov 4 20:07:54 2014 +0100| [d4cf61379909db4a6502101d9c7f4e4ee8aa79a0] | committer: Christophe Massiot
fix a52e_set_frmsiz
> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=d4cf61379909db4a6502101d9c7f4e4ee8aa79a0
---
atsc/a52.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atsc/a52.h b/atsc/a52.h
index eb417f8..9a210db 100644
--- a/atsc/a52.h
+++ b/atsc/a52.h
@@ -272,7 +272,7 @@ static inline void a52e_set_frmsiz(uint8_t *p_a52, uint16_t i_frmsiz)
{
p_a52[2] &= ~0x7;
p_a52[2] |= (i_frmsiz >> 8) & 0x7;
- p_a52[3] |= i_frmsiz & 0xff;
+ p_a52[3] = i_frmsiz & 0xff;
}
static inline uint16_t a52e_get_frame_size(uint16_t i_frmsiz)
More information about the biTStream-devel
mailing list