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

Unified · Split

libavfilter/vf_zscale.c+1−7
@@ -859,13 +859,7 @@ static const AVOption zscale_options[] = { · 858 unmodified lines
859 { NULL }859 { NULL }
860};860};
861 861
862static const AVClass zscale_class = {862AVFILTER_DEFINE_CLASS(zscale);
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};
869 863
870static const AVFilterPad avfilter_vf_zscale_inputs[] = {864static const AVFilterPad avfilter_vf_zscale_inputs[] = {
871 {865 {

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