diff options
author | Sean McGovern <gseanmcg@gmail.com> | 2013-07-04 18:02:17 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-07-04 18:02:17 +0200 |
commit | bf18abb2eb79c00c69f6f83ede64536e3297793c (patch) | |
tree | a636651d2e3c8cc91675655c4ac78aa49e4de95d /libavcodec/libxavs.c | |
parent | f32b8130f434fd33317c73f947514854ce466206 (diff) | |
download | ffmpeg-bf18abb2eb79c00c69f6f83ede64536e3297793c.tar.gz |
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/libxavs.c')
-rw-r--r-- | libavcodec/libxavs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index 442fc0eea4..fad0a54695 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -404,7 +404,7 @@ static const AVOption options[] = { { NULL }, }; -static const AVClass class = { +static const AVClass xavs_class = { .class_name = "libxavs", .item_name = av_default_item_name, .option = options, @@ -427,6 +427,6 @@ AVCodec ff_libxavs_encoder = { .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS, .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, .long_name = NULL_IF_CONFIG_SMALL("libxavs Chinese AVS (Audio Video Standard)"), - .priv_class = &class, + .priv_class = &xavs_class, .defaults = xavs_defaults, }; |