diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-10 14:29:07 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-12 12:29:46 +0100 |
commit | f1fa1eed2abdc8dfb0af318a43f5d293b81141bd (patch) | |
tree | 0e4bcb0beffa32ccc52f1d5dcfd531d5e6c214d0 /libavcodec/rv10enc.c | |
parent | e7af52a68dde9144b273a9598b60bf0f56e1323b (diff) | |
download | ffmpeg-f1fa1eed2abdc8dfb0af318a43f5d293b81141bd.tar.gz |
mpegvideo: Expand macro
Having this macro in an header only facilitates the use of such header.
The code increase is minimal and files have one less dependency
on mpegvideo.h.
Diffstat (limited to 'libavcodec/rv10enc.c')
-rw-r--r-- | libavcodec/rv10enc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/rv10enc.c b/libavcodec/rv10enc.c index 98cd06e3ee..9f4f7380c3 100644 --- a/libavcodec/rv10enc.c +++ b/libavcodec/rv10enc.c @@ -63,7 +63,12 @@ int ff_rv10_encode_picture_header(MpegEncContext *s, int picture_number) return 0; } -FF_MPV_GENERIC_CLASS(rv10) +static const AVClass rv10_class = { + .class_name = "rv10 encoder", + .item_name = av_default_item_name, + .option = ff_mpv_generic_options, + .version = LIBAVUTIL_VERSION_INT, +}; AVCodec ff_rv10_encoder = { .name = "rv10", |