1
0
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:
Anton Khirnov 2011-07-01 21:24:17 +02:00 committed by Reinhard Tartler
parent cb66b55270
commit 9da3063e1c

View File

@ -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;