Commit 2cb5b881 authored by Jan Gerber's avatar Jan Gerber
Browse files

fix av api

parent 8a312f8d
......@@ -2842,7 +2842,7 @@ int main(int argc, char **argv) {
}
}
if (avformat_open_input(&convert->context, inputfile_name, input_fmt, &format_opts) >= 0) {
if (avformat_find_stream_info(convert->context, NULL) >= 0) {
if (av_find_stream_info(convert->context) >= 0) {
if (output_filename_needs_building) {
int i;
......
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