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/flvenc.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/flvenc.c')
-rw-r--r-- | libavcodec/flvenc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c index 994ea07604..ab89b25203 100644 --- a/libavcodec/flvenc.c +++ b/libavcodec/flvenc.c @@ -91,7 +91,12 @@ void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, } } -FF_MPV_GENERIC_CLASS(flv) +static const AVClass flv_class = { + .class_name = "flv encoder", + .item_name = av_default_item_name, + .option = ff_mpv_generic_options, + .version = LIBAVUTIL_VERSION_INT, +}; AVCodec ff_flv_encoder = { .name = "flv", |