diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 14:26:09 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-06 08:26:12 -0500 |
commit | c2fcd0a7a4d0bda1a3306e40b70ce281a987df60 (patch) | |
tree | 2f1d6751e938b53e2ae2734393079ef296666bbd /libavcodec/ac3_parser.c | |
parent | ad3cffb68f9c77e140660a8ae7d43c8606208178 (diff) | |
download | ffmpeg-c2fcd0a7a4d0bda1a3306e40b70ce281a987df60.tar.gz |
Replace remaining occurrences of deprecated CH_* with AV_CH_*
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/ac3_parser.c')
-rw-r--r-- | libavcodec/ac3_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index 4737d6f868..bab354d6b9 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -24,6 +24,7 @@ #include "ac3_parser.h" #include "aac_ac3_parser.h" #include "get_bits.h" +#include "libavcore/audioconvert.h" #define AC3_HEADER_SIZE 7 @@ -123,7 +124,7 @@ int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr) } hdr->channel_layout = ff_ac3_channel_layout_tab[hdr->channel_mode]; if (hdr->lfe_on) - hdr->channel_layout |= CH_LOW_FREQUENCY; + hdr->channel_layout |= AV_CH_LOW_FREQUENCY; return 0; } |