Commit 8af9366e authored by Clément Bœsch's avatar Clément Bœsch

ffprobe: fix deprecated call to av_find_stream_info.

parent a544545a
......@@ -276,7 +276,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
/* fill the streams in the format context */
if ((err = av_find_stream_info(fmt_ctx)) < 0) {
if ((err = avformat_find_stream_info(fmt_ctx, NULL)) < 0) {
print_error(filename, err);
return err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment