[FFmpeg-cvslog] r22758 - trunk/libavformat/utils.c
michael
subversion
Thu Apr 1 14:09:33 CEST 2010
Author: michael
Date: Thu Apr 1 14:09:33 2010
New Revision: 22758
Log:
Limit probing to probesize.
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Thu Apr 1 10:02:20 2010 (r22757)
+++ trunk/libavformat/utils.c Thu Apr 1 14:09:33 2010 (r22758)
@@ -562,7 +562,7 @@ int av_open_input_file(AVFormatContext *
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;
}
}
More information about the ffmpeg-cvslog
mailing list