diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c index e1aaa9ba57..af47879767 100644 --- a/fftools/textformat/avtextformat.c +++ b/fftools/textformat/avtextformat.c @@ -433,7 +433,7 @@ static char *value_string(const AVTextFormatContext *tctx, char *buf, int buf_si } -void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int value, const char *unit) +void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int64_t value, const char *unit) { char val_str[128]; struct unit_value uv; diff --git a/fftools/textformat/avtextformat.h b/fftools/textformat/avtextformat.h index cf23d93871..8316829af5 100644 --- a/fftools/textformat/avtextformat.h +++ b/fftools/textformat/avtextformat.h @@ -169,7 +169,7 @@ void avtext_print_integer(AVTextFormatContext *tctx, const char *key, int64_t va int avtext_print_string(AVTextFormatContext *tctx, const char *key, const char *val, int flags); -void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int value, const char *unit); +void avtext_print_unit_int(AVTextFormatContext *tctx, const char *key, int64_t value, const char *unit); void avtext_print_rational(AVTextFormatContext *tctx, const char *key, AVRational q, char sep);