summaryrefslogtreecommitdiff
path: root/libavcodec/aac_parser.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-05-13 17:57:58 +0000
committerAlex Converse <alex.converse@gmail.com>2009-05-13 17:57:58 +0000
commit90350d73f8b6bb281d9028ad1adf4805a8bce717 (patch)
tree5d578c80d73a85c29ff0eabb386aeed7b9bb53f0 /libavcodec/aac_parser.c
parentee373ddffd2b2eb223804db5d7c35e692146f7cc (diff)
Allow parsing and decoding of ADTS AAC files with channel config = 0
Originally committed as revision 18815 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r--libavcodec/aac_parser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c
index ab8e092dda..30ce04d4ad 100644
--- a/libavcodec/aac_parser.c
+++ b/libavcodec/aac_parser.c
@@ -44,9 +44,6 @@ int ff_aac_parse_header(GetBitContext *gbc, AACADTSHeaderInfo *hdr)
skip_bits1(gbc); /* private_bit */
ch = get_bits(gbc, 3); /* channel_configuration */
- if(!ff_mpeg4audio_channels[ch])
- return AAC_AC3_PARSE_ERROR_CHANNEL_CFG;
-
skip_bits1(gbc); /* original/copy */
skip_bits1(gbc); /* home */