Revision fbdcdaee libavcodec/ac3_parser.c
libavcodec/ac3_parser.c | ||
---|---|---|
24 | 24 |
#include "ac3_parser.h" |
25 | 25 |
#include "aac_ac3_parser.h" |
26 | 26 |
#include "get_bits.h" |
27 |
#include "libavcore/audioconvert.h" |
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
#define AC3_HEADER_SIZE 7 |
... | ... | |
123 | 124 |
} |
124 | 125 |
hdr->channel_layout = ff_ac3_channel_layout_tab[hdr->channel_mode]; |
125 | 126 |
if (hdr->lfe_on) |
126 |
hdr->channel_layout |= CH_LOW_FREQUENCY; |
|
127 |
hdr->channel_layout |= AV_CH_LOW_FREQUENCY;
|
|
127 | 128 |
|
128 | 129 |
return 0; |
129 | 130 |
} |
Also available in: Unified diff