dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRA
authorAnssi Hannula <anssi.hannula@iki.fi>
Fri, 21 Jan 2011 20:00:40 +0000 (20:00 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 23 Jan 2011 18:32:07 +0000 (19:32 +0100)
commitcf9cb1f99a661f540523d559cd4018b71e70e8c0
tree008b45629ad9472ea2cb53a081517cec9972638e
parentb6125545da0c589df5ed5b3cff1d7593445237a2
dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRA

DTS-HD HRA streams do not always have an XBR extension in the extension
substream. Instead they can have only XXCh and X96 extensions in
there and still be considered DTS-HD HRA.

This is also confirmed with Onkyo TX-SR607 receiver which recognizes
such a stream as HiRes Audio.

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