[bTSstream-devel] fix bug in a52 support

Christophe Massiot git at videolan.org
Tue Feb 18 11:56:10 CET 2014


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Tue Feb 18 11:55:48 2014 +0100| [e1bab586e7e01c603edc57ddf0a86caf320794ed] | committer: Christophe Massiot

fix bug in a52 support

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=e1bab586e7e01c603edc57ddf0a86caf320794ed
---

 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];
 }
 
 /*****************************************************************************



More information about the biTStream-devel mailing list