History

lavfi/zscale: make use of AVFILTER_DEFINE_CLASS

use AVFILTER_DEFINE_CLASS for defining the filter classes

Jun Zhao committed 7 years ago

Commit 26dbe881 parent 0ce759d1 file · +1 −7Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_zscale.c+1−7
@@ -859,13 +859,7 @@ static const AVOption zscale_options[] = { · 858 unmodified lines
859859 { NULL }
860860 };
861861
862−static const AVClass zscale_class = {
863− .class_name = "zscale",
864− .item_name = av_default_item_name,
865− .option = zscale_options,
866− .version = LIBAVUTIL_VERSION_INT,
867− .category = AV_CLASS_CATEGORY_FILTER,
868−};
862+AVFILTER_DEFINE_CLASS(zscale);
869863
870864 static const AVFilterPad avfilter_vf_zscale_inputs[] = {
871865 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t