mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 19:10:09 +01: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:
committed by
Reinhard Tartler
parent
cb66b55270
commit
9da3063e1c
@@ -461,8 +461,9 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
|
|||||||
}
|
}
|
||||||
ic->pb = pb;
|
ic->pb = pb;
|
||||||
|
|
||||||
err = avformat_open_input(ic_ptr, filename, fmt, &opts);
|
err = avformat_open_input(&ic, filename, fmt, &opts);
|
||||||
|
|
||||||
|
*ic_ptr = ic;
|
||||||
fail:
|
fail:
|
||||||
av_dict_free(&opts);
|
av_dict_free(&opts);
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user