summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/wmv2enc.c')
-rw-r--r--libavcodec/wmv2enc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c
index 55ee089ed0..0499f0a1ed 100644
--- a/libavcodec/wmv2enc.c
+++ b/libavcodec/wmv2enc.c
@@ -213,7 +213,12 @@ void ff_wmv2_encode_mb(MpegEncContext *s, int16_t block[6][64],
s->p_tex_bits += get_bits_diff(s);
}
-FF_MPV_GENERIC_CLASS(wmv2)
+static const AVClass wmv2_class = {
+ .class_name = "wmv2 encoder",
+ .item_name = av_default_item_name,
+ .option = ff_mpv_generic_options,
+ .version = LIBAVUTIL_VERSION_INT,
+};
AVCodec ff_wmv2_encoder = {
.name = "wmv2",