summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-24 16:28:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-24 16:28:35 +0000
commitac6f133027263749e2f8c7269367d0558f3781bc (patch)
treedf2b51500e76222948e0abd1ddb07556d56287c0 /libavformat/utils.c
parentf018bc100081add5e06e9e626ba5dace63848bf5 (diff)
Set indexmem to a saner default.
Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index ae57a6e3e1..caf8df4ebd 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -323,7 +323,7 @@ static const AVOption options[]={
{"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E},
{"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 3*AV_TIME_BASE, 0, INT_MAX, D},
{"cryptokey", "decryption key", OFFSET(key), FF_OPT_TYPE_BINARY, 0, 0, 0, D},
-{"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), FF_OPT_TYPE_INT, INT_MAX, 0, INT_MAX, D},
+{"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), FF_OPT_TYPE_INT, 1<<20, 0, INT_MAX, D},
{NULL},
};