]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_tonemap.c
avcodec/mpegpicture: Check size of edge_emu_buffer
[ffmpeg] / libavfilter / vf_tonemap.c
index 98a2c4bd23ca4acbc3fef6306bd97464060367d4..efd4af5466c0ffa2033a127a90841dda0a8d8333 100644 (file)
@@ -287,13 +287,7 @@ static const AVOption tonemap_options[] = {
     { NULL }
 };
 
-static const AVClass tonemap_class = {
-    .class_name       = "tonemap",
-    .item_name        = av_default_item_name,
-    .option           = tonemap_options,
-    .version          = LIBAVUTIL_VERSION_INT,
-    .category         = AV_CLASS_CATEGORY_FILTER,
-};
+AVFILTER_DEFINE_CLASS(tonemap);
 
 static const AVFilterPad tonemap_inputs[] = {
     {