History

fftools/tf_internal: Use av_default_item_name

softworkz committed 1 year ago

Commit bb3a1441 parent cee7b8a1 file · +1 −5Browse files

Unified · Split

fftools/textformat/tf_internal.h+1−5
@@ -29,13 +29,9 @@ · 28 unmodified lines
2929 #include "avtextformat.h"
3030
3131 #define DEFINE_FORMATTER_CLASS(name) \
32−static const char *name##_get_name(void *ctx) \
33−{ \
34− return #name ; \
35−} \
3632 static const AVClass name##_class = { \
3733 .class_name = #name, \
38− .item_name = name##_get_name, \
34+ .item_name = av_default_item_name, \
3935 .option = name##_options \
4036 }
4137

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