summaryrefslogtreecommitdiff
path: root/libavformat/img2dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-04 04:54:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-04 04:54:32 +0200
commitd36fe733c1e84c7fc0e865d8ad73933e7bc92348 (patch)
tree24f04f177b3a5f14ce5523222b522c50d14cee22 /libavformat/img2dec.c
parenta195c98cbc50bcccef860b9473638e0e52727d18 (diff)
avformat/img2dec: increase probe buffer to 2k
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r--libavformat/img2dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 7e209eefa7..cc53409c69 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -305,7 +305,7 @@ int ff_img_read_header(AVFormatContext *s1)
s->split_planes = str && !av_strcasecmp(str + 1, "y");
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
if (s1->pb) {
- int probe_buffer_size = 8;
+ int probe_buffer_size = 2048;
uint8_t *probe_buffer = av_realloc(NULL, probe_buffer_size + AVPROBE_PADDING_SIZE);
AVInputFormat *fmt = NULL;
AVProbeData pd;