diff options
author | Sean McGovern <gseanmcg@gmail.com> | 2013-07-04 20:02:17 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-07-04 20:02:17 +0400 |
commit | bf18abb2eb79c00c69f6f83ede64536e3297793c (patch) | |
tree | a636651d2e3c8cc91675655c4ac78aa49e4de95d /libavcodec/libopenjpegdec.c | |
parent | f32b8130f434fd33317c73f947514854ce466206 (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/libopenjpegdec.c')
-rw-r--r-- | libavcodec/libopenjpegdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index ec6e275dc9..c331b590e8 100644 --- a/libavcodec/libopenjpegdec.c +++ b/libavcodec/libopenjpegdec.c @@ -392,7 +392,7 @@ static const AVOption options[] = { { NULL }, }; -static const AVClass class = { +static const AVClass openjpeg_class = { .class_name = "libopenjpeg", .item_name = av_default_item_name, .option = options, @@ -409,5 +409,5 @@ AVCodec ff_libopenjpeg_decoder = { .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, .max_lowres = 31, .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"), - .priv_class = &class, + .priv_class = &openjpeg_class, }; |