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)
committerMans Rullgard <mans@mansr.com>
Thu, 24 Feb 2011 21:22:37 +0000 (21:22 +0000)
commit7e06e0ede3b798f591634b277e8dfa6507b196de
tree79782c9c914c5f3a6ea4f9bafd3450eda8dee800
parent1108f8998c6536bb44d6ecbe5adfa18e0c1478e8
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>
libavcodec/dca.c