summaryrefslogtreecommitdiff
path: root/libavcodec/libvo-amrwbenc.c
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2013-07-04 18:02:17 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-07-04 18:02:17 +0200
commitbf18abb2eb79c00c69f6f83ede64536e3297793c (patch)
treea636651d2e3c8cc91675655c4ac78aa49e4de95d /libavcodec/libvo-amrwbenc.c
parentf32b8130f434fd33317c73f947514854ce466206 (diff)
Rename "AVClass class" as "AVClass component_class" for external codecs.
The aix header math.h defines "extern int class()" for C. This fixes compilation on aix with external libraries enabled. Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Diffstat (limited to 'libavcodec/libvo-amrwbenc.c')
-rw-r--r--libavcodec/libvo-amrwbenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c
index a068cd009d..f12cfb67a8 100644
--- a/libavcodec/libvo-amrwbenc.c
+++ b/libavcodec/libvo-amrwbenc.c
@@ -45,7 +45,7 @@ static const AVOption options[] = {
{ NULL }
};
-static const AVClass class = {
+static const AVClass amrwb_class = {
"libvo_amrwbenc", av_default_item_name, options, LIBAVUTIL_VERSION_INT
};
@@ -148,5 +148,5 @@ AVCodec ff_libvo_amrwbenc_encoder = {
AV_SAMPLE_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AMR-WB "
"(Adaptive Multi-Rate Wide-Band)"),
- .priv_class = &class,
+ .priv_class = &amrwb_class,
};