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>
This commit is contained in:
Sean McGovern
2013-07-04 18:02:17 +02:00
committed by Carl Eugen Hoyos
parent f32b8130f4
commit bf18abb2eb
8 changed files with 16 additions and 16 deletions

View File

@@ -180,7 +180,7 @@ static const AVOption options[] = {
{ NULL }
};
static const AVClass class = {
static const AVClass amrnb_class = {
"libopencore_amrnb", av_default_item_name, options, LIBAVUTIL_VERSION_INT
};
@@ -291,7 +291,7 @@ AVCodec ff_libopencore_amrnb_encoder = {
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band)"),
.priv_class = &class,
.priv_class = &amrnb_class,
};
#endif /* CONFIG_LIBOPENCORE_AMRNB_ENCODER */