diff avformat.h @ 1720:1a8d1f66c867 libavformat

make av_find_stream_info() duration user selectable
author michael
date Tue, 23 Jan 2007 17:34:26 +0000
parents ba58d49d4685
children 5d72afc6c8aa
line wrap: on
line diff
--- a/avformat.h	Tue Jan 23 15:38:07 2007 +0000
+++ b/avformat.h	Tue Jan 23 17:34:26 2007 +0000
@@ -373,6 +373,11 @@
     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 {