summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index b3c398e8d2..480df999e2 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -373,6 +373,11 @@ typedef struct AVFormatContext {
int loop_input;
/* decoding: size of data to probe; encoding unused */
unsigned int probesize;
+
+ /**
+ * maximum duration in AV_TIME_BASE units over which the input should be analyzed in av_find_stream_info()
+ */
+ int max_analyze_duration;
} AVFormatContext;
typedef struct AVPacketList {