You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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"
|
#include "avtextformat.h"
|
||||||
|
|
||||||
#define DEFINE_FORMATTER_CLASS(name) \
|
#define DEFINE_FORMATTER_CLASS(name) \
|
||||||
static const char *name##_get_name(void *ctx) \
|
|
||||||
{ \
|
|
||||||
return #name ; \
|
|
||||||
} \
|
|
||||||
static const AVClass name##_class = { \
|
static const AVClass name##_class = { \
|
||||||
.class_name = #name, \
|
.class_name = #name, \
|
||||||
.item_name = name##_get_name, \
|
.item_name = av_default_item_name, \
|
||||||
.option = name##_options \
|
.option = name##_options \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user