aboutsummaryrefslogtreecommitdiff
path: root/libavformat/aea.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-02-03 14:26:09 +0100
committerRonald S. Bultje2011-02-06 08:26:12 -0500
commitc2fcd0a7a4d0bda1a3306e40b70ce281a987df60 (patch)
tree2f1d6751e938b53e2ae2734393079ef296666bbd /libavformat/aea.c
parentad3cffb68f9c77e140660a8ae7d43c8606208178 (diff)
Replace remaining occurrences of deprecated CH_* with AV_CH_*
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/aea.c')
-rw-r--r--libavformat/aea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/aea.c b/libavformat/aea.c
index 6816506e4e..8a508ec50a 100644
--- a/libavformat/aea.c
+++ b/libavformat/aea.c
@@ -23,6 +23,7 @@
#include "avformat.h"
#include "pcm.h"
#include "libavutil/intreadwrite.h"
+#include "libavcore/audioconvert.h"
#define AT1_SU_SIZE 212
@@ -76,7 +77,7 @@ static int aea_read_header(AVFormatContext *s,
return -1;
}
- st->codec->channel_layout = (st->codec->channels == 1) ? CH_LAYOUT_MONO : CH_LAYOUT_STEREO;
+ st->codec->channel_layout = (st->codec->channels == 1) ? AV_CH_LAYOUT_MONO : AV_CH_LAYOUT_STEREO;
st->codec->block_align = AT1_SU_SIZE * st->codec->channels;
return 0;