diff options
author | Max Kellermann <max@duempel.org> | 2009-02-18 18:39:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-18 18:39:12 +0100 |
commit | 51c59f622872c7fb028c121cc74300de34a80783 (patch) | |
tree | e624baa4142fd9bb323544b58949bf2b56591186 /src/utils.h | |
parent | 111c73e701e61316c7aef41bf4330759cfaba5e7 (diff) | |
download | mpd-51c59f622872c7fb028c121cc74300de34a80783.tar.gz mpd-51c59f622872c7fb028c121cc74300de34a80783.tar.xz mpd-51c59f622872c7fb028c121cc74300de34a80783.zip |
mp4ff: use faacDecInit2() to find the AAC track
Use faacDecInit2() instead of AudioSpecificConfig() to detect the AAC
track in the MP4 file. This has a great advantage: it initializes the
libfaad decoder, which the caller would normally do anyway - but now
we can go without the AudioSpecificConfig() call. When decoder==NULL
(called from mp4_tag_dup()), fall back to a mp4ff_get_track_type()==1
check, like other audio players do.
Diffstat (limited to 'src/utils.h')
0 files changed, 0 insertions, 0 deletions