On date Sunday 2025-04-20 22:59:07 +0000, softworkz wrote:
> From: softworkz <[email protected]>
>
> Signed-off-by: softworkz <[email protected]>
> ---
> fftools/textformat/tf_internal.h | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
Typo in commit headling: ac_default... -> av_default...
>
> diff --git a/fftools/textformat/tf_internal.h
> b/fftools/textformat/tf_internal.h
> index 7b326328cb..e145bc83bb 100644
> --- a/fftools/textformat/tf_internal.h
> +++ b/fftools/textformat/tf_internal.h
> @@ -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 \
> }
Looks good to me.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".