OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f610c
)
lavf: use the correct pointer in av_open_input_stream().
author
Anton Khirnov
<anton@khirnov.net>
Fri, 1 Jul 2011 19:24:17 +0000
(21:24 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sat, 2 Jul 2011 06:41:57 +0000
(08:41 +0200)
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
776697b
..
92debd5
100644
(file)
--- a/
libavformat/utils.c
+++ b/
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;