OSDN Git Service

dca: use EXT_AUDIO_ID field to determine core extensions
authorAnssi Hannula <anssi.hannula@iki.fi>
Fri, 18 Feb 2011 19:49:44 +0000 (19:49 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:04 +0000 (03:16 +0100)
commit853daff68210e4c2bf72afa2f757f89146e5d8c2
treeb32617b0cd41bb546d7d1794b74b25358d6db66d
parent1e898e7d35ccb3020da7c58d030e369cb65f3ed3
dca: use EXT_AUDIO_ID field to determine core extensions

This avoids the core substream extensions scan when the EXT_AUDIO_ID
field indicates no extensions or only unsupported extensions. The scan
is done only if the value of EXT_AUDIO_ID is unknown or indicates a
present XCh extension which we can decode.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 7e06e0ede3b798f591634b277e8dfa6507b196de)
libavcodec/dca.c