Commit 5001d6ef authored by Anton Khirnov's avatar Anton Khirnov

lavf: use the correct pointer in av_open_input_stream().

parent d3f610c1
......@@ -461,8 +461,9 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
}
ic->pb = pb;
err = avformat_open_input(ic_ptr, filename, fmt, &opts);
err = avformat_open_input(&ic, filename, fmt, &opts);
*ic_ptr = ic;
fail:
av_dict_free(&opts);
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