ad_faad: Make work with -demuxer lavf

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32586 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-11-06 16:05:00 +00:00 committed by Uoti Urpala
parent 50d5197611
commit 1d99051c59
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ static int init(sh_audio_t *sh)
memcpy(sh->codecdata, sh->wf+1, sh->codecdata_len); memcpy(sh->codecdata, sh->wf+1, sh->codecdata_len);
mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"FAAD: codecdata extracted from WAVEFORMATEX\n"); mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"FAAD: codecdata extracted from WAVEFORMATEX\n");
} }
if(!sh->codecdata_len) { if(!sh->codecdata_len || sh->format == mmioFOURCC('M', 'P', '4', 'L')) {
faacDecConfigurationPtr faac_conf; faacDecConfigurationPtr faac_conf;
/* Set the default object type and samplerate */ /* Set the default object type and samplerate */
/* This is useful for RAW AAC files */ /* This is useful for RAW AAC files */