mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
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:
@ -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 \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user