diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-09-01 14:33:54 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-09-01 14:33:54 +0000 |
commit | 2988c93d94d857da609f366db82b624a91ff9b4c (patch) | |
tree | 9038c03b1a91bc622d73463bea80e18f7fb2718a /libavcodec/aac_ac3_parser.c | |
parent | 5f86057ffd534abb42fada9f0abf88409f6b51d2 (diff) | |
download | ffmpeg-2988c93d94d857da609f366db82b624a91ff9b4c.tar.gz |
create a separate codec_id for E-AC-3
Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_ac3_parser.c')
-rw-r--r-- | libavcodec/aac_ac3_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index cfb1a222be..d0c912a606 100644 --- a/libavcodec/aac_ac3_parser.c +++ b/libavcodec/aac_ac3_parser.c @@ -76,7 +76,8 @@ get_next: avctx->request_channels < s->channels && (avctx->request_channels <= 2 || (avctx->request_channels == 1 && - avctx->codec_id == CODEC_ID_AC3))) { + (avctx->codec_id == CODEC_ID_AC3 || + avctx->codec_id == CODEC_ID_EAC3)))) { avctx->channels = avctx->request_channels; } else { avctx->channels = s->channels; |