Browse Source

lavf: use the correct pointer in av_open_input_stream().

(cherry picked from commit 5001d6ef4a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
tags/n0.7.2
Anton Khirnov Reinhard Tartler 14 years ago
parent
commit
9da3063e1c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/utils.c

+ 2
- 1
libavformat/utils.c 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;


Loading…
Cancel
Save