From d4cf61379909db4a6502101d9c7f4e4ee8aa79a0 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Tue, 4 Nov 2014 20:07:54 +0100 Subject: [PATCH] fix a52e_set_frmsiz --- 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)