projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
527c2e6
)
Limit probing to probesize.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 1 Apr 2010 12:09:33 +0000
(12:09 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 1 Apr 2010 12:09:33 +0000
(12:09 +0000)
Originally committed as revision 22758 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
929f5a4
..
0cb5e47
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-562,7
+562,7
@@
int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
if (buf_size > 0) {
url_setbufsize(pb, buf_size);
}
if (buf_size > 0) {
url_setbufsize(pb, buf_size);
}
- if ((err = ff_probe_input_buffer(&pb, &fmt, filename, logctx, 0, 0)) < 0) {
+ if ((err = ff_probe_input_buffer(&pb, &fmt, filename, logctx, 0,
logctx ? (*ic_ptr)->probesize :
0)) < 0) {
goto fail;
}
}
goto fail;
}
}