From f1fa1eed2abdc8dfb0af318a43f5d293b81141bd Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 10 Jun 2015 14:29:07 +0100 Subject: 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. --- libavcodec/mpegvideo.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libavcodec/mpegvideo.h') 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 -- cgit v1.2.3