summaryrefslogtreecommitdiffstats
path: root/libfaad2/syntax.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-26 18:45:11 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-26 18:45:11 +0000
commita8e8627367e3c00113ff53ab197ecebd4920dbc9 (patch)
tree93d66a277940dddfd9352757ee2ad4ab7e0a7598 /libfaad2/syntax.c
parent54cc9247e0ff20068a6b937332ab88020bf6fbf2 (diff)
downloadmpv-a8e8627367e3c00113ff53ab197ecebd4920dbc9.tar.bz2
mpv-a8e8627367e3c00113ff53ab197ecebd4920dbc9.tar.xz
added code to check and handle the presence of LATM streams in the init() and decode() functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25864 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libfaad2/syntax.c')
-rw-r--r--libfaad2/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfaad2/syntax.c b/libfaad2/syntax.c
index 52a08f25b7..566c16b88b 100644
--- a/libfaad2/syntax.c
+++ b/libfaad2/syntax.c
@@ -548,7 +548,7 @@ void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
/* 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);