From e1bab586e7e01c603edc57ddf0a86caf320794ed Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Tue, 18 Feb 2014 11:55:48 +0100 Subject: [PATCH] fix bug in a52 support --- atsc/a52.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atsc/a52.h b/atsc/a52.h index 2c6bbfc..eb417f8 100644 --- a/atsc/a52.h +++ b/atsc/a52.h @@ -182,7 +182,7 @@ static inline uint16_t a52_get_frame_size(uint8_t i_fscod, uint8_t i_frmsizecod) static inline bool a52_sync_compare_formats(const uint8_t *p_a521, const uint8_t *p_a522) { return p_a521[0] == p_a522[0] && p_a521[1] == p_a522[1] && - p_a521[4] == p_a522[1]; + p_a521[4] == p_a522[4]; } /*****************************************************************************