mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffprobe: fix deprecated call to av_find_stream_info.
This commit is contained in:
parent
a544545a03
commit
8af9366e2f
@ -276,7 +276,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
|
|||||||
|
|
||||||
|
|
||||||
/* fill the streams in the format context */
|
/* 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);
|
print_error(filename, err);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user