diff libfaad2/syntax.c @ 25836:bc425ba00960

added code to check and handle the presence of LATM streams in the init() and decode() functions
author nicodvb
date Sat, 26 Jan 2008 18:45:11 +0000
parents 69a4d646e55d
children e83eef58b30a
line wrap: on
line diff
--- a/libfaad2/syntax.c	Sat Jan 26 18:42:17 2008 +0000
+++ b/libfaad2/syntax.c	Sat Jan 26 18:45:11 2008 +0000
@@ -548,7 +548,7 @@
 
     /* new in corrigendum 14496-3:2002 */
 #ifdef DRM
-    if (hDecoder->object_type != DRM_ER_LC)
+    if (hDecoder->object_type != DRM_ER_LC && !hDecoder->latm_header_present)
 #endif
     {
         faad_byte_align(ld);