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/mpegvideo.h | |
parent | e7af52a68dde9144b273a9598b60bf0f56e1323b (diff) |
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/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 372c6cfc20..f5bb58fe94 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -574,14 +574,6 @@ typedef struct MpegEncContext { extern const AVOption ff_mpv_generic_options[]; -#define FF_MPV_GENERIC_CLASS(name) \ -static const AVClass name ## _class = {\ - .class_name = #name " encoder",\ - .item_name = av_default_item_name,\ - .option = ff_mpv_generic_options,\ - .version = LIBAVUTIL_VERSION_INT,\ -}; - /** * Set the given MpegEncContext to common defaults (same for encoding * and decoding). The changed fields will not depend upon the prior |