From ddd0b19169dc3c0dfcdbaf246147a64c87b22c24 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 29 Oct 2017 14:10:56 -0300 Subject: [PATCH] ffprobe: remove usage of deprecated getter functions Signed-off-by: James Almer --- fftools/ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index ab36f8bc42..07ca842efa 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2792,7 +2792,7 @@ static int show_format(WriterContext *w, InputFile *ifile) else print_str_opt("size", "N/A"); if (fmt_ctx->bit_rate > 0) print_val ("bit_rate", fmt_ctx->bit_rate, unit_bit_per_second_str); else print_str_opt("bit_rate", "N/A"); - print_int("probe_score", av_format_get_probe_score(fmt_ctx)); + print_int("probe_score", fmt_ctx->probe_score); if (do_show_format_tags) ret = show_tags(w, fmt_ctx->metadata, SECTION_ID_FORMAT_TAGS);