You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf: use the correct pointer in av_open_input_stream().
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user