mirror of https://git.ffmpeg.org/ffmpeg.git
lavf: use the correct pointer in av_open_input_stream().
This commit is contained in:
parent
d3f610c186
commit
5001d6ef4a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue