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
29#include "avtextformat.h"29#include "avtextformat.h"
30 30
31#define DEFINE_FORMATTER_CLASS(name) \31#define DEFINE_FORMATTER_CLASS(name) \
32static const char *name##_get_name(void *ctx) \
33{ \
34 return #name ; \
35} \
36static const AVClass name##_class = { \32static const AVClass name##_class = { \
37 .class_name = #name, \33 .class_name = #name, \
38 .item_name = name##_get_name, \34 .item_name = av_default_item_name, \
39 .option = name##_options \35 .option = name##_options \
40}36}
41 37

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