lavf: use the correct pointer in av_open_input_stream().

This commit is contained in:
Anton Khirnov 2011-07-01 21:24:17 +02:00
parent d3f610c186
commit 5001d6ef4a
1 changed files with 2 additions and 1 deletions

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;