mirror of https://github.com/mpv-player/mpv
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:
parent
50d5197611
commit
1d99051c59
|
@ -97,7 +97,7 @@ static int init(sh_audio_t *sh)
|
|||
memcpy(sh->codecdata, sh->wf+1, sh->codecdata_len);
|
||||
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;
|
||||
/* Set the default object type and samplerate */
|
||||
/* This is useful for RAW AAC files */
|
||||
|
|
Loading…
Reference in New Issue