summaryrefslogtreecommitdiff
path: root/libavcodec/libwebpenc_animencoder.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-05-23 01:51:45 -0300
committerJames Almer <jamrial@gmail.com>2015-05-23 01:52:16 -0300
commit1096c46c55d6bbac5c2decbca49f083d079c1642 (patch)
tree0cc856956043706917af17a0d99c91c62584f045 /libavcodec/libwebpenc_animencoder.c
parent44ca8a6adbc3157771b9388876c29d260a165ba7 (diff)
libwebp: use a separate AVClass for each encoder
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libwebpenc_animencoder.c')
-rw-r--r--libavcodec/libwebpenc_animencoder.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c
index 40a694bde5..c1e2a1cb9a 100644
--- a/libavcodec/libwebpenc_animencoder.c
+++ b/libavcodec/libwebpenc_animencoder.c
@@ -124,6 +124,13 @@ static int libwebp_anim_encode_close(AVCodecContext *avctx)
return ret;
}
+static const AVClass class = {
+ .class_name = "libwebp_anim",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
+};
+
AVCodec ff_libwebp_anim_encoder = {
.name = "libwebp_anim",
.long_name = NULL_IF_CONFIG_SMALL("libwebp WebP image"),