summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-23 17:34:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-23 17:34:26 +0000
commita44b3c4da859efacddca3a58ecbc6ad477b929ed (patch)
tree40bf89132cdb398ccf6b6c98ab47b920295ceb6b /libavformat/avformat.h
parent683ab79ca036036fef4b9432ffe50901f92c0a8c (diff)
make av_find_stream_info() duration user selectable
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 {