aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/img2dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 71b50b19bb..7e209eefa7 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -321,7 +321,7 @@ int ff_img_read_header(AVFormatContext *s1)
memset(probe_buffer + probe_buffer_size, 0, AVPROBE_PADDING_SIZE);
pd.buf = probe_buffer;
- pd.buf_size = 8;
+ pd.buf_size = probe_buffer_size;
pd.filename = s1->filename;
while ((fmt = av_iformat_next(fmt))) {