diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 21:14:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 21:25:21 +0200 |
commit | dbf172e6f44d1736d27a84fa117dcd6b8460bd4b (patch) | |
tree | 673fee9ea042991f7ce1891389f3426efcf21c61 /libavcodec/wmv2enc.c | |
parent | 1189af429211ac650aac730368a6cf5b23756605 (diff) | |
parent | f1fa1eed2abdc8dfb0af318a43f5d293b81141bd (diff) | |
download | ffmpeg-dbf172e6f44d1736d27a84fa117dcd6b8460bd4b.tar.gz |
Merge commit 'f1fa1eed2abdc8dfb0af318a43f5d293b81141bd'
* commit 'f1fa1eed2abdc8dfb0af318a43f5d293b81141bd':
mpegvideo: Expand macro
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmv2enc.c')
-rw-r--r-- | libavcodec/wmv2enc.c | 7 |
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", |