fftools/tf_internal: Use av_default_item_name
Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: softworkz <softworkz@hotmail.com>
This commit is contained in:
parent
cee7b8a051
commit
bb3a14489e
1 changed files with 1 additions and 5 deletions
|
|
@ -29,13 +29,9 @@
|
|||
#include "avtextformat.h"
|
||||
|
||||
#define DEFINE_FORMATTER_CLASS(name) \
|
||||
static const char *name##_get_name(void *ctx) \
|
||||
{ \
|
||||
return #name ; \
|
||||
} \
|
||||
static const AVClass name##_class = { \
|
||||
.class_name = #name, \
|
||||
.item_name = name##_get_name, \
|
||||
.item_name = av_default_item_name, \
|
||||
.option = name##_options \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue