diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-12 15:06:58 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-22 20:07:02 -0500 |
commit | 3798205a77ce275613098ecb48645e6029811f14 (patch) | |
tree | 41ad2274e8fe47a7546bb8ea301280090b66e2ac /libavcodec/ac3_parser.c | |
parent | 1254022ea717fba6f189d6a66841e0ba204ed80a (diff) | |
download | ffmpeg-3798205a77ce275613098ecb48645e6029811f14.tar.gz |
mov: set channel layout for AC-3 streams based on the 'dac3' atom info
fixes Bug 225
Diffstat (limited to 'libavcodec/ac3_parser.c')
-rw-r--r-- | libavcodec/ac3_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index 067b4f9879..d9ba1fd70b 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -134,7 +134,7 @@ int avpriv_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr) (hdr->num_blocks * 256.0)); hdr->channels = ff_ac3_channels_tab[hdr->channel_mode] + hdr->lfe_on; } - hdr->channel_layout = ff_ac3_channel_layout_tab[hdr->channel_mode]; + hdr->channel_layout = avpriv_ac3_channel_layout_tab[hdr->channel_mode]; if (hdr->lfe_on) hdr->channel_layout |= AV_CH_LOW_FREQUENCY; |