[FFmpeg-cvslog] ffprobe: remove usage of deprecated getter functions

James Almer git at videolan.org
Sun Oct 29 20:42:30 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Oct 29 14:10:56 2017 -0300| [ddd0b19169dc3c0dfcdbaf246147a64c87b22c24] | committer: James Almer

ffprobe: remove usage of deprecated getter functions

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddd0b19169dc3c0dfcdbaf246147a64c87b22c24
---

 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);
 



More information about the ffmpeg-cvslog mailing list