mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-25 04:19:05 +00:00
lavf: use the correct pointer in av_open_input_stream().
(cherry picked from commit 5001d6ef4a
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
This commit is contained in:
parent
cb66b55270
commit
9da3063e1c
@ -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
Block a user