diff avformat.h @ 841:ba7631ba33a7 libavformat

support fixing missing pts by parsing future frames
author michael
date Mon, 15 Aug 2005 14:22:43 +0000
parents e3a3fe90b62f
children 43210d766412
line wrap: on
line diff
--- a/avformat.h	Sun Aug 14 16:37:29 2005 +0000
+++ b/avformat.h	Mon Aug 15 14:22:43 2005 +0000
@@ -5,8 +5,8 @@
 extern "C" {
 #endif
 
-#define LIBAVFORMAT_VERSION_INT ((49<<16)+(0<<8)+0)
-#define LIBAVFORMAT_VERSION     49.0.0
+#define LIBAVFORMAT_VERSION_INT ((49<<16)+(1<<8)+0)
+#define LIBAVFORMAT_VERSION     49.1.0
 #define LIBAVFORMAT_BUILD       LIBAVFORMAT_VERSION_INT
 
 #define LIBAVFORMAT_IDENT       "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
@@ -332,6 +332,8 @@
     /* number of times to loop output in formats that support it */
     int loop_output;
     
+    int flags;
+#define AVFMT_FLAG_GENPTS       0x0001 ///< generate pts if missing even if it requires parsing future frames
 } AVFormatContext;
 
 typedef struct AVPacketList {