Revision fbdcdaee libavformat/aea.c
libavformat/aea.c | ||
---|---|---|
23 | 23 |
#include "avformat.h" |
24 | 24 |
#include "pcm.h" |
25 | 25 |
#include "libavutil/intreadwrite.h" |
26 |
#include "libavcore/audioconvert.h" |
|
26 | 27 |
|
27 | 28 |
#define AT1_SU_SIZE 212 |
28 | 29 |
|
... | ... | |
76 | 77 |
return -1; |
77 | 78 |
} |
78 | 79 |
|
79 |
st->codec->channel_layout = (st->codec->channels == 1) ? CH_LAYOUT_MONO : CH_LAYOUT_STEREO;
|
|
80 |
st->codec->channel_layout = (st->codec->channels == 1) ? AV_CH_LAYOUT_MONO : AV_CH_LAYOUT_STEREO;
|
|
80 | 81 |
|
81 | 82 |
st->codec->block_align = AT1_SU_SIZE * st->codec->channels; |
82 | 83 |
return 0; |
Also available in: Unified diff