projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0689b
)
Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allow
author
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 3 Jul 2008 12:10:54 +0000
(12:10 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 3 Jul 2008 12:10:54 +0000
(12:10 +0000)
empty params for av_open_input_stream()".
Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
63dd959
..
794baba
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-394,9
+394,11
@@
int av_open_input_stream(AVFormatContext **ic_ptr,
ic->priv_data = NULL;
}
+ if (ic->iformat->read_header) {
err = ic->iformat->read_header(ic, ap);
if (err < 0)
goto fail;
+ }
if (pb && !ic->data_offset)
ic->data_offset = url_ftell(ic->pb);