ffprobe: fix deprecated call to av_find_stream_info.

This commit is contained in:
Clément Bœsch 2011-08-17 20:30:18 +02:00
parent a544545a03
commit 8af9366e2f

View File

@ -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;
}