Make a plausibility check when setting channel layout for TrueHD.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 1 Apr 2011 22:48:43 +0000 (00:48 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 1 Apr 2011 22:48:43 +0000 (00:48 +0200)
commit2a0bd2bfc957abe3fab97cc27e6d997099082841
treef475bf8c5fdfe80ddfbdb90c6b0966c4faeecb7a
parente1cfe04c766c1a703bc3671fde7d651f2b79b230
Make a plausibility check when setting channel layout for TrueHD.

TrueHD supports more channels than FFmpeg, so a valid sample
could set the channel layout to a value that represents less
channels than the sample actually consists of.
libavcodec/mlp_parser.c