lavf: use the correct pointer in av_open_input_stream().

pull/2/head
Anton Khirnov 14 years ago
parent d3f610c186
commit 5001d6ef4a
  1. 3
      libavformat/utils.c

@ -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…
Cancel
Save