summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:46:27 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:47:45 +0200
commit0915b531bc62440914710d2989813563b0446c5e (patch)
tree18517eb6ab7c0a88bf0e1de93b24ba638a6a5a89 /libavformat
parent742b9617698f189e5bd911a600e6547b21bf6699 (diff)
Rename "AVClass class" as "AVClass component_class".
The aix header math.h defines "extern int class()" for C.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/flvdec.c4
-rw-r--r--libavformat/gsmdec.c4
-rw-r--r--libavformat/mov.c4
-rw-r--r--libavformat/spdifenc.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index d13238f116..69e2bee331 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -911,7 +911,7 @@ static const AVOption options[] = {
{ NULL }
};
-static const AVClass class = {
+static const AVClass flv_class = {
.class_name = "flvdec",
.item_name = av_default_item_name,
.option = options,
@@ -928,5 +928,5 @@ AVInputFormat ff_flv_demuxer = {
.read_seek = flv_read_seek,
.read_close = flv_read_close,
.extensions = "flv",
- .priv_class = &class,
+ .priv_class = &flv_class,
};
diff --git a/libavformat/gsmdec.c b/libavformat/gsmdec.c
index 9899266173..a51822ad23 100644
--- a/libavformat/gsmdec.c
+++ b/libavformat/gsmdec.c
@@ -80,7 +80,7 @@ static const AVOption options[] = {
{ NULL },
};
-static const AVClass class = {
+static const AVClass gsm_class = {
.class_name = "gsm demuxer",
.item_name = av_default_item_name,
.option = options,
@@ -96,5 +96,5 @@ AVInputFormat ff_gsm_demuxer = {
.flags = AVFMT_GENERIC_INDEX,
.extensions = "gsm",
.raw_codec_id = AV_CODEC_ID_GSM,
- .priv_class = &class,
+ .priv_class = &gsm_class,
};
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 36b17c1710..37030a57e2 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3414,7 +3414,7 @@ static const AVOption options[] = {
{NULL}
};
-static const AVClass class = {
+static const AVClass mov_class = {
.class_name = "mov,mp4,m4a,3gp,3g2,mj2",
.item_name = av_default_item_name,
.option = options,
@@ -3430,6 +3430,6 @@ AVInputFormat ff_mov_demuxer = {
.read_packet = mov_read_packet,
.read_close = mov_read_close,
.read_seek = mov_read_seek,
- .priv_class = &class,
+ .priv_class = &mov_class,
.flags = AVFMT_NO_BYTE_SEEK,
};
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 857c20de22..17501f8cb4 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -92,7 +92,7 @@ static const AVOption options[] = {
{ NULL },
};
-static const AVClass class = {
+static const AVClass spdif_class = {
.class_name = "spdif",
.item_name = av_default_item_name,
.option = options,
@@ -552,5 +552,5 @@ AVOutputFormat ff_spdif_muxer = {
.write_packet = spdif_write_packet,
.write_trailer = spdif_write_trailer,
.flags = AVFMT_NOTIMESTAMPS,
- .priv_class = &class,
+ .priv_class = &spdif_class,
};